Questions tagged [msmessage]

iOS Message Objects used by Message Extensions.

38 questions
13
votes
4 answers

Properly Present a UIAlertController from MSMessagesAppViewController

I'm trying to figure out how to display a UIAlertController with a style of UIAlertControllerStyleActionSheet within my iMessage app extension. The problem is, the action sheet appears below the native iMessage text field when presented when…
klcjr89
  • 5,662
  • 9
  • 54
  • 91
8
votes
0 answers

How to send and read image/video in iOS message extension?

My goal: Allow user to send (or attach) a video clip to a message Allow receiver to read (not playing) the video when it is received Not using an additional server to host these messages or videos. In other words, I want everything to be done…
Jess
  • 101
  • 3
5
votes
0 answers

How to enable audio in MSMessage embedded video ios 10

I was able to embed a video into an MSMessage instance and send it only problem is the audio is automatically muted. You can see that its muted by a little speaker crossed out on the top right of the message bubble. I've also tried it on my iphone…
user3296487
  • 226
  • 2
  • 11
5
votes
1 answer

How to send MSMessage in Messages Extension?

I want to implement an imessage app, however being new to the messages framework and iMessage apps being such a new thing there aren't many resources. So I am following the WWDC video and using Apples providing sample app for a guide. I have three…
JUSDEV
  • 711
  • 1
  • 6
  • 21
3
votes
0 answers

iMessage - detect when an MSMessage is tapped

I'm developing an iMessage extension where there is a view to browse content. After selecting one, it sends as an MSMessage. I'm trying to display an image preview when the user taps on the MSMessage bubble after it's sent. I was hoping to use func…
adamF
  • 901
  • 2
  • 9
  • 22
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,474
  • 1
  • 12
  • 27
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
  • 552
  • 1
  • 4
  • 19
3
votes
0 answers

MSMessage summaryText not consistently displaying participantIdentifier string

I'm having trouble getting the summaryText on a message to consistently display the name associated with the UUID that is passed forward. When it fails to work only an empty string is displayed in its place. let local =…
2
votes
1 answer

Swift Editing MSMessage URL Data

Main Question - How do I check if an MSMessage has already been opened by the recipient? I have an iMessage extension in which a user can send a MSMessage to their recipient. Upon receiving the message, the recipient should be able to open it and…
Levi K
  • 473
  • 1
  • 3
  • 14
2
votes
3 answers

MSMessagesAppViewController not calling didSelect() properly?

The problem On iOS 10.2 didSelect() is only called when select a message for the first time, but not for the second time selecting the same message (right after the first select happened). For example: Click a received MSMessage Message_A while my…
Jess
  • 101
  • 3
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

MSMessage didReceive(message, conversation) not called

I'm in the process of making an iMessage app and the delegate method didReceive isn't being called in the simulator when a message comes in. All the other methods are being called and I'm able to pass information back and forth and update the…
SimonBarker
  • 1,256
  • 2
  • 12
  • 29
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
  • 252
  • 3
  • 17
2
votes
1 answer

How can I check if an MSMessage was sent or received?

I am making an iMessage extension turn-based game. I want to be able to check who (sender or receiver) opens the iMessage when it is tapped on. For example: if the sender opens it: remind them that it is the other persons turn if the receiver…
quemeful
  • 8,148
  • 4
  • 51
  • 64
2
votes
3 answers

Send and Open data in iMessage app

I am creating an iMessage app for iOS 10 in which I would like to send some data with the layout. When the user taps on the layout that has been sent it will open the iMessage app and access the data that has also been sent. The data is a…
Tom Coomer
  • 5,449
  • 12
  • 38
  • 76
1
2 3