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
3 answers

How to upload only iMessage Sticker app?

I want to make an only Sticker app, i built Sticker Extension in Xcode 8. Created new app id in developer portal also. But in iTunes Connect there's no option for New iMessage Sticker App ? How do i upload my sticker app build ?
Jack Sparrow
  • 113
  • 1
  • 3
  • 13
2
votes
0 answers

iMessage app prevent selection when swiping between apps

I have a UICollectionView with a 'didSelectItemAt indexPath' that seems to be receiving a touchUp gesture when swiping to the next iMessage app. I tried preventing this in the 'didResignActive' method, but that doesn't get called when transitioning…
Zig
  • 2,603
  • 1
  • 14
  • 20
2
votes
1 answer

Could not attach to pid : “7722”

I am working on Sticker pack application. I add some custom stickers in Sticker pack. When I tried to run the application on simulator it always says:- Could not attach to pid : “7722”
pkc456
  • 8,350
  • 38
  • 53
  • 109
2
votes
1 answer

How to receive and access an image sent in an ios iMessage extension

I know the iMessage extensions are pretty new, but this is something I've seen one do and haven't been able to figure out how. I can insert an image into the iMessage conversation using the MSTemplateLayout.image. This inserts into the message just…
2
votes
2 answers

How to identify that message in iMessage extension is from sender or receiver?

I am developing iMessage Extension in which I have to open detail view controller when user tap on receiver's Message. But at the moment not getting way for how to differentiate that tapped message is from receiver's or sender's(User's Own message).
technerd
  • 14,144
  • 10
  • 61
  • 92
2
votes
1 answer

Can a non-optional type be nil?

In a MessagesViewController, we are using the overridden delegate methods. When sending a message, didStartSending is called as expected. The non-optional parameter message is nil though: override func didStartSending(_ message: MSMessage,…
shallowThought
  • 19,212
  • 9
  • 65
  • 112
1
vote
1 answer

Creating an iMessage app without using a storyboard

I would like to create an iMessage app without using a storyboard, and preferably using SwiftUI for the view. I am following an answer in an Apple forum, but I am not getting a view inside the iMessage window. I changed my Info.plist…
coco
  • 2,998
  • 1
  • 35
  • 58
1
vote
1 answer

Unable to load iMessage extension on a physical device

I'm developing an iMessage app extension on an existing project. When I run it on a simulator it works correct. But when I open it on a physical device, the iMessage says "Unable to load extension" or there maybe an infinite loading icon. I've tried…
Arthur Arakelyan
  • 164
  • 1
  • 11
1
vote
0 answers

How would one open an iMessage app extension from the hosting application?

I'm trying to open an iMessage extension application from the main hosting extension using URL in the following manner, if UIApplication.shared.canOpenURL(url){ UIApplication.shared.open(url) }else{ print("unable to open URL") } I added the url…
1
vote
0 answers

iOS Sticker Pack Extension is not visible in iMessage if downloaded from the AppStore

I have an regular iOS app where I have added a new Sticker Pack Extension. It's runs fine in Simulator and Phone. Then I submitted it to TestFlight for beta testing. When installing from testflight, the iOS app installs fine along with the Sticker…
ayon
  • 2,180
  • 2
  • 17
  • 32
1
vote
0 answers

iMessage identifiers converted to phone number instead of name

I’m developing an Messages extension. When it comes time to send a message, I want it to show up as something like: “Jeff sent a message.” However, the MSConversation APIs only give us identifiers. When you use these identifiers in the MSMessage…
Senseful
  • 86,719
  • 67
  • 308
  • 465
1
vote
1 answer

iMessage extension showing empty screen

I created an iMessage extension. When I install it on one phone (via Xcode), everything works fine. Same with simulator. When I attempt to connect a friend's phone and launch the app, it shows a blank screen. I can't find a crash nor other…
Senseful
  • 86,719
  • 67
  • 308
  • 465
1
vote
1 answer

How to get current window in shared app extensions?

I am working on iMessage app extension, I need to get app window in this extension for some reasons. Previously I was doing like this as mentioned bellow :- guard let currentWindow : UIWindow = UIApplication.shared.keyWindow else {return} in xcode…
1
vote
1 answer

Xcode: didTransition to Won't Run in iMessage Extension

I am making an iMessage extension that uses the didTransition(to:). However, the function won't run when I resize the iMessage extension in the simulator. Am I doing something wrong? This is the code I have: import UIKit import Messages class…
user14210589
1
vote
0 answers

UIAppearance Protocol for MessagesExtension App

I'm working on an iOS Messages Extension app. In this app, I use google autocomplete. To style an autocomplete table, Google recommends using the UIAppearance protocol in the AppDelegate.m file for certain parameters, like a table view cell's…