Questions tagged [ios-messages-extension]

17 questions
15
votes
1 answer

How to send audio file with image and caption in iMessage app for iOS 10?

I am creating iMessage app and trying to send audio or video file to other user. Video file works and looks fine but its not working as expected with audio file. My current code is: let destinationFilename = mp3FileNames[i] let destinationURL = …
Dharmesh Kheni
  • 71,228
  • 33
  • 160
  • 165
8
votes
3 answers

iOS 10 Messages Extension - Wrong Layout when using Storyboard Segue

When using Segues in Messages Extension Application the layout gets messed up. Is there any way to solve this issue while still using storrybord segues? Screenshots: (Note: The first and second View / ViewController are identical. The segue-type…
7
votes
0 answers

How do I use CKSubscription in an iOS 10 messages extension?

iOS 10 introduced messages extensions, which are the first (to my knowledge) extension which does not require a host application. I am trying to use CloudKit in a messages extension which does not have a host app. From what I can tell,…
Andrew
  • 15,357
  • 6
  • 66
  • 101
4
votes
6 answers

Swift 3 iMessage Extension doesn't open URL

I am creating an iOS Application iMessage Extension. According to Example by Apple, I creating a message according to provided logic guard let url: URL = URL(string: "http://www.google.com") else { return } let message = composeMessage(url:…
Daumantas Versockas
  • 797
  • 1
  • 10
  • 29
2
votes
0 answers

iOS: Using typhoon in app extension, specifically messages extension

I am using typhoon to perform dependency injection in my app. It works well in the regular app. However, in the messages extension of the app storyboard don't work as expected - injections are not working in the view controllers. I have added the…
2
votes
2 answers

InsertAttachment withAlternateFilename is not working in iOS 10

As per doc: @method insertAttachment:withAlternateFilename:completionHandler: @abstract The NSURL instance provided in the URL parameter is inserted into the Messages.app input field. This must be a file URL. @param URL The…
Dharmesh Kheni
  • 71,228
  • 33
  • 160
  • 165
1
vote
0 answers

MSMessagesAppViewController performing segues in expanded view Issues

I'm writing a MSMessagesApp Extension and my compressed view controller shows up fine when I go into each possible avenue of an expanded view and back. However, when I'm in the expanded view and performing segues, when I collapse to the compressed…
Dbear
  • 11
  • 2
1
vote
1 answer

iOS messages extension how to switch host app directly

I have an app and I wanna add messages extension feature. I thought the feature is if the user selects a message, it switches my host app directly like google map. I made a MSMessage and set URL and the message has template layout which had caption…
MoonSoo
  • 385
  • 3
  • 15
1
vote
0 answers

selectedMessage() is not triggered on message select in simulator with Message Extension

I am attempting to trigger a message content specific segue on message select with my messages extension. I am using the following function override: override func didSelect(_ message: MSMessage, conversation: MSConversation) { …
thexande
  • 1,645
  • 16
  • 23
1
vote
1 answer

When releasing standalone messages extension on app store do I need iOS app screenshots?

I am releasing a standalone iOS messages extension on the app store meaning there is not an iOS app to go along with it. Do I have to include screenshots for the iOS app or can I just add the screenshots for the messages extension? Thanks
random_0620
  • 1,636
  • 5
  • 23
  • 44
1
vote
1 answer

Strange Thing Going on with UUID on messages extension

I am creating this messages extension that is a game. When I receive a conversation on didBecomeActiveWithConversation I grab my UUID and the opponent's UUID, for example: myUUID = [conversation.localParticipantIdentifier UUIDString]; opponentUUID =…
Duck
  • 34,902
  • 47
  • 248
  • 470
0
votes
1 answer

Cannot InsertText with Message App Extension

I'm creating a Message App Extension in Xamarin and am getting a NSException error when trying to InsertText from the MessagesViewController. I do not see error messages when building, just when this InsertText code is executed. Appreciate your…
0
votes
2 answers

Signal to iOS that a meta og:image property tag has a content change after page has loaded

I'm implementing og:image tags for a web project. The value in the tag updates asynchronously after the page has loaded and an HTTP call has returned. iOS seems to pull the content of the tag right at the time of page load and if there is no value…
0
votes
1 answer

Dismiss app extension after sending message

I would like to hide my app extension after sending a message. Is this possible? I looked online and couldn't find an answer.
Aaron Bratcher
  • 6,051
  • 2
  • 39
  • 70
0
votes
1 answer

Move interactive message bubble to app area

I'm writing a messages extension that is meant to work with Apple Business Chat. When receiving an interactive message, I would like to show a static bubble that the user taps to show more options down in the app area OR simply show my interactive…
Aaron Bratcher
  • 6,051
  • 2
  • 39
  • 70
1
2