I am making a chat application and recently observed apps like WhatsApp,Viber,Skype when sent any link , the chat bubble changes from he text link to preview image with link as attached.
Can anyone tell me how to achieve it in IOS.
I am making a chat application and recently observed apps like WhatsApp,Viber,Skype when sent any link , the chat bubble changes from he text link to preview image with link as attached.
Can anyone tell me how to achieve it in IOS.
If your application has a server side api, this problem could be solved with server side making a preview thumbnail with a lower quality that would be sent to your client app, you would still need to manually keep track of what files you have stored this is where SDWebImage might come in handy (url: http://cocoadocs.org/docsets/SDWebImage/3.7.5/).
The problem is, there is no way to preview an image without actually downloading the data itself, so that's why my bet would be on the server side of that solution.