Apple adds new App Intents APIs for Shortcuts in iOS 16.4 betas

In the iOS 16.4 beta, Apple has added a new protocol for App Intents developers—ForegroundContinuableIntent—which engineering manager Michael Gorbach linked to on Mastodon.

Along with the first beta release of iOS 16.4, Apple has published a new beta protocol for the App Intents APIs that let developers foreground their process if user interaction is required.

Michael Gorbach, engineering manager on the App Intents, Shortcuts and Proactive Intelligence team at Apple, posted the following about the release on Mastodon:

In other exciting news, we've added some new App Intents APls in the 16.4 betas: developer.apple.com/documentat...
If you have an App Intent / App Shortcut that generally runs in the background, this protocol lets you "continue" the intent in the app, foregrounding it so the user can interact there. This is great for scenarios such as asking the user to log in again, or if an order needs changing due to items being out of stock. If you're an App Intents adopter, try it out and let us know what you think!

Here’s the description of the protocol from Apple’s website:

The ForegroundContinuableIntent protocol represents intents which begin their work with the app in the background but may request to continue in the foreground.

This protocol will be in beta for the iOS 16.4 developer cycle, so app developers can begin building with this now – everyday users won’t see the effects of this in their apps until iOS 16.4 releases in full after Apple’s testing cycle.

Learn more about the ForegroundContinuableIntent protocol in the Apple Developer Documentation.

Posts You Might Like