Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Show preview of URL while entering a link in UITextView

I need to show a preview of a URL (like FB and WhatsApp do), while the user is entering a link in a UITextView.

Is there a library on iOS to grab it, or do we have to make our own?

Thanks in advance.

enter image description here

like image 626
Jegan Avatar asked Oct 21 '25 22:10

Jegan


1 Answers

iOS does not provide this functionality by default. You will have to build your own or use an open source solution.

This project might provide what you need: https://github.com/itsmeichigo/URLPreview

like image 185
Yann Bodson Avatar answered Oct 24 '25 13:10

Yann Bodson



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!