Posts

Post not yet marked as solved
2 Replies
992 Views
Touchgram provides interactive messages as an iMessage App extension, adding gesture recognition and logic on top of SpriteKit. When you play a message, either composing it or when received, the extension goes into expanded sheet mode which is mostly filled with an SKView. I’ve just installed the iOS 17 beta. Running the current (1.3.3) version of the app inside Messages, touches are not being captured inside SpriteKit. Instead, vertical touches are interpreted as attempts to drag the sheet from expanded down to compact mode. Horizontal touches still work. This breaks the app utterly. At the very least, I need a fix and to ship a new version by the time 17.0 goes live. Alternatively, this may be a beta bug in Messages. To replicate: Launch the extension inside Messages Tap Favorites (star) Choose the “Foot tickle lots with hearts” Press the Play (triangle) button Move your finger rapidly back and forth - you should see hearts being drawn following your path - horizontally and vertically, any angle. On iOS17, vertical movement in step 5 fails, instead shrinking the sheet.
Posted
by andydent.
Last updated
.
Post not yet marked as solved
0 Replies
526 Views
I just launched Touchgram v1.0 last week, which is 99% iMessage app extension, and am trying to update to XCode11.I'm now getting an error `open(_:options:completionHandler:) is unavailable in application extensions`I have confirmed this occurs even in a trivial sample that tries to launch a web URL from an iMessage app:For example: let openSel = #selector(UIApplication.open(_:options:completionHandler:)) while (responder != nil){ if responder?.responds(to: openSel ) == true{ // cannot package up multiple args to openSel so we explicitly call it on the iMessage application instance // found by iterating up the chain (responder as? UIApplication)?.open(url, completionHandler:handler) // perform(openSel, with: url) return } responder = responder!.next }This is fairly dire as it prevents building even a trivial update.This technique is used to launch our Settings app as well as linking to web pages from messages.Help!thanks, Andy Dent
Posted
by andydent.
Last updated
.