steve228uk / MessengerKit

:speech_balloon: A UI framework for building messenger interfaces on iOS
MIT License
1.48k stars 129 forks source link

image from url #47

Closed fuatkarip closed 4 years ago

fuatkarip commented 4 years ago

hi how can i add image from url i try .image but cant load

thx

ios-applyjob commented 4 years ago

I am having the same issue while loading image or video asynchronously..Please look into this

ios-applyjob commented 4 years ago

Found a working solution: Create a custom image incoming and image outgoing cell. change arguments in MSGMessageBody.image to (UIImage, String). Set the image in the custom cell from the URL. I personally used Kingfisher.

ruanorz commented 4 years ago

Found a working solution: Create a custom image incoming and image outgoing cell. change arguments in MSGMessageBody.image to (UIImage, String). Set the image in the custom cell from the URL. I personally used Kingfisher.

Please, can you share your solution? Thank you 🙏

sjoness commented 4 years ago

Hi @fuatkarip, @ruanorz

PR#48 was just merged and offers this feature. Check it out 😁