Questions tagged [imessage-extension]

iMessage Extensions consist of apps and sticker packs allowing for interactive and expressive experiences in iMessage conversations.

Documentation

233 questions
2
votes
1 answer

iMessage extension add video to MSConversation and play directly

I've found that there are basically to way to add a video into an MSConversation. Create an MSMessage instance and add the file URL as the mediaFileURL property from the MSMessageTemplateLayout let layout =…
Andrea
  • 26,120
  • 10
  • 85
  • 131
2
votes
0 answers

Swift: Delay loading animations in collection view?

I have not seen this topic posted anywhere else - I have built an iMessage app that uses a collecitonview to hold a bunch of MSStickerViews. These stickers are animated. My problem is that while the app itself appears to load when you first open,…
blue
  • 7,175
  • 16
  • 81
  • 179
2
votes
2 answers

How to pass and get multiple URLQueryItems in Swift?

Ok, I am working in an iMessage app and am trying to parse more than 1 url query item from the selected message here- I have been successful getting/sending just 1 value in a query: override func willBecomeActive(with conversation: MSConversation)…
blue
  • 7,175
  • 16
  • 81
  • 179
2
votes
1 answer

A tap on a message does not open the app page in AppStore

The application I develop, which contains iMessage extension got published in AppStore recently. When I send messages with my extension to people without this app installed, they tap on the message, and get AppStore view, opened at "Featured"…
Alim
  • 46
  • 7
2
votes
0 answers

Unit Test cases for iMessage extension iOS

I have added an iMessage extension as a target in my current app & I am trying to add unit tests for iMessage extension I tried adding the test cases for the iMessage extension but getting an error Undefined symbols for architecture x86_64: …
iYoung
  • 3,596
  • 3
  • 32
  • 59
2
votes
1 answer

Open app from messages extension in swift 3

I'm trying to open my mother app from message extension on a click of button. I've used this code in my exstension: @IBAction func open(_ sender: UIButton) { let url = URL(string: "swiftexamples://") self.extensionContext?.open(url!,…
2
votes
0 answers

How to send custom iMessage view with JSON data and possibility to open it in my app?

I have an app. And now I would like to share the data from one user to another via iMessage app and custom messages like this: What I need to achieve? share some JSON content and open it in my app if it is installed on iPhone... JSON data should…
Bartłomiej Semańczyk
  • 59,234
  • 49
  • 233
  • 358
2
votes
2 answers

The purpose Swift URL Components in iMessage Apps?

I am brand new to iMessage App development. Looking at some examples, it looks like the way information is transferred from the sender to the recipient with iMessage Apps is via URLComponents. Is this the only way to send information on iMessage…
BostonCam
  • 21
  • 2
2
votes
1 answer

iMessage App Expanded View Programmatically

I have the code below to handle the resizing when the user taps on the arrow in my iMessage app to transition to the expanded view, but how can I open the expanded view programmatically when the user segues to a new view controller in my iMessage…
Tom Coomer
  • 6,227
  • 12
  • 45
  • 82
2
votes
1 answer

iMessage Extension : Getting bundle nil from different target

I have an existing app and want to create a iMessage extension. So I have added target iMessage Extension in in my project. Now I want to show my existing view in that extension via container view. I have added code : let mainBundle =…
Abhishek Thapliyal
  • 3,497
  • 6
  • 30
  • 69
2
votes
1 answer

iMessage app won't insert message into active conversation

I'm having an issue with a Message Extension app I'm trying to create. Whenever I try to insert text into a conversation nothing happens. This is what I'm using: import UIKit import Messages class MessagesViewController:…
2
votes
1 answer

Swift: Unable to open url from extensioncontext in uiCollectionView?

Alright Im building a message extension app with a uicollectionview with header and footer. After several tries I learned why I wasn't able to open a url from the message controller using normal syntax - because its an extension it should use: let…
blue
  • 7,175
  • 16
  • 81
  • 179
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

How to programmatically clear the entry field in an iMessage extension?

Ok, I have looked everywhere and can't find a single post on this. I am building an iMessage extension app and I need to know IF and how there is a way to programmatically clear the iMessage text entry field. Not necessarily edit the content, just…
blue
  • 7,175
  • 16
  • 81
  • 179
2
votes
1 answer

What are my limitations with Apple's iMessage Applications?

I just realized Apple now allows developers to create iMessage Applications. Is anyone familiar with just how much an iMessage Application (or extension) can do? For instance: can the extension send a text without the user pressing the regular send…
Sanders0492
  • 55
  • 1
  • 4