In my iOS app, its like converting audio/text to text and displays in UITableviewCell
.
But, If the user pasted link in chat textfield like "some text https://www.somelink.com/, I want to show preview of that page like how facebook, Skype, etc other social networking apps doing, I have less idea about this.
I want to implement this in my UITableviewCell
, Can anyone suggest me how can I move forward on this.
I am doing this app in Objective-C
.
Finally, I found solution for this. I have tried many ways to install the third party apis which is useful to show preview of website from a link, but, those are in swift, and my project is in Objective-C, but I was not able to install objective-c and swift pods into same project, got conflicts.
So, I just imported few XML/HTML parser classes and extracted the website title, image and description along with domain by passing the URL.
Following link helped me to extract website title, description, image and domain to show in preview.
https://github.com/myell0w/MTDURLPreview
I hope this will helps someone in future.