msmessage

Properly Present a UIAlertController from MSMessagesAppViewController

◇◆丶佛笑我妖孽 提交于 2019-12-19 12:52:10
问题 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 calling: [self.view.window.rootViewController presentViewController:actionSheetController animated:YES completion:NULL]; How would I go about fixing this? Code: UIAlertController *actionSheetController = [UIAlertController alertControllerWithTitle

MSMessageLiveLayout freeze/crash in transcript when info.plist contains privacy request

限于喜欢 提交于 2019-12-08 13:15:11
问题 I have an iMessage extension using MSMessageLiveLayout for messages. I want the extension to access microphone. Adding in info.plist "Privacy - Microphone Usage Description" with correct value causes the liveMessages in transcript to freeze/crash when the extension is closed. Removing the Privacy request from info.plist makes the liveMessages in transcript to work as intended... To reproduce the problem, just download Apple's "ice cream" iMessage sample extension here: https://developer.apple

How to send MSMessage in Messages Extension?

余生颓废 提交于 2019-12-06 04:43:01
问题 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 views, the MessageViewController which handles pretty much all the functionality and then a CreateViewController and a DetailsViewController . I am simply trying to create an MSMessage from the CreateViewController and display in the

How to send MSMessage in Messages Extension?

久未见 提交于 2019-12-04 08:07:51
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 views, the MessageViewController which handles pretty much all the functionality and then a CreateViewController and a DetailsViewController . I am simply trying to create an MSMessage from the CreateViewController and display in the DetailsViewController .. then add to the data. However I get a crash when trying to create the data. @IBAction func