I am trying to send an image along with the message that my app creates and inserts to send to other users. The image will be the same image used in the layout property of the message, but there is apparently no way to access the image property on the layout of the message on the receiving user's end.
Is it possible to send the image in the URL attached to the message and then access it on the second user's instance of the app? How could I go about this?
As iMessage url scheme supports 5000 characters as written in apple documentation: https://developer.apple.com/reference/messages/msmessage/1649739-url
You can use convert your UIImage to NSData and then convert NSData to String and send the string in the url scheme. To retrieve, decode from string to UIImage.
E.g.:
Hope this helps