Tag Archives: iMessage

How to open Parent App from iMessage extension

ref – http://stackoverflow.com/questions/24297273/openurl-not-work-in-action-extension

xcode 8.2.1, ios 10.2, swift 3

File > New > Project > Create Single App

Then, click on your project (blue project icon):

File > New > Target > iMessage Extension

Parent App

AppDelegate

iMessage Extension

Throw a button in your xib, and to a handler like so:

If you’re not in UIViewController, you can go:

iMessage test app

ref – http://stackoverflow.com/questions/39419854/xcode-8-code-signing-error

When you run a iMessage default app, you will notice three icons next to the text message text field. A camera, digital draw, and the iMessage app icon.

Once you touch the iMsg app icon, it will bring up a list of iMsg apps. You will see your app testMessage like so:

imsg_app

Once you select your app, you’ll see it being run. You will see the “Hello World” label, along with the name of your app.

imsg_short

Then, once you click on the arrow button on the bottom right, you make the iMsg app run full mode

imsg_full