I am having an issue with the MSMessageTemplayLayout not showing up in the transcript when received(iPad or iPhone Xr). The sending device shows the image in the transcript. Further more, if I exit out of iMessage on the recieving device, the notification preview of the message shows the image in the notification bubble.
Sending device view:
Receiving device view:
Receiving device notification:
layout.image = [UIImage imageNamed:@"preview.png"]; MSMessageLayout *newLayout = layout; msg.layout = newLayout;
Please help, this is very frustrating that it is not displaying properly. All devices are running iOS 12.1.4.
I've reported this bug to Apple before, you should too. This happens only if the contact that you received the message from is not in your contact list. Once you assign email/phone to a new or existing contact then it would be displayed properly.