Questions tagged [msmessagetemplatelayout]

The MSMessageTemplateLayout (iOS) describes how an MSMessage object is presented in the transcript. The message template includes the Message extension’s icon, an image, video, or audio file, and a number of text elements (title, subtitle, caption, subcaption, trailing caption, and trailing subcaption).

8 questions
3
votes
1 answer

MSMessage url stays nil after setting it to url of a file

I have an app with an iOS 10 iMessage app. When I attach my file URL to an MSMessage message.URL is (null). I really don't know what's causing this. When I check the logs, I see a proper url: URL: file:///thisuser/... etc. However, message.URL logs…
user4992124
  • 1,574
  • 1
  • 17
  • 35
3
votes
2 answers

How can I access the image from the MSMessage's layout on the receiving user's end?

I am making an iMessage Extension that involves users sending pictures back and forth to one another. They need to both be able to access the images that they receive from each other and use it on their own end. For example, if USER 1 sends a…
Cody Lucas
  • 682
  • 1
  • 6
  • 23
2
votes
1 answer

How to send GIF Image through iMessage extension

I would like to send a GIF Image from my iMessage extension. The message is sending with the image but the problem is that image is not animating. My approach: let msg = msgList[indexPath.row] let message = MSMessage() let msgLayout…
2
votes
1 answer

Is it possible to create a custom MSMessageLayout for iMessage app extension? If so, can some one provide me an example

Among the examples I have seen so far for iMessage-App extensions, I learned that the only way to send GIF is through creating a MSSticker and attaching a gif to it for sending. But, after observing some apps. I saw that GIPHY sends GIF through…
2
votes
0 answers

Send an Image with MSMessage

I'm finishing the iMessage Extension but I've a little problem, I want to send a simple Image using MSMessage. Now I Use this Code : MSMessage *message = [[MSMessage alloc] init]; MSMessageTemplateLayout *layout = [[MSMessageTemplateLayout…
BlackRock
  • 421
  • 1
  • 5
  • 18
1
vote
1 answer

How to embed a URL on a MSMessage?

Currently able to attach an image to the MSMessage. Also setting the url of MSMessage using MSMessage.url as below. However when the recipient taps on the message, the URL does not open in Safari browser. Instead the App store opens up. //…
as diu
  • 1,010
  • 15
  • 31
0
votes
0 answers

Transparent image in iMessage MessageExtension iOS

I'm working on a MessageExtension app and trying to send transparent images through imessage. However when I add the image to the message, the image loses its background transparency and is filled in with a solid white. is there a way to mitigate…
0
votes
1 answer

Who is in fact localParticipantIdentifier?

I am creating this interactive messages app. Every time I compose a message and send to the other side and use this command: [messageTemplateLayout setSubcaption:[NSString…
Duck
  • 34,902
  • 47
  • 248
  • 470