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.
Apple adds new App Intents APIs for Shortcuts in iOS 16.4 betas

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

7 ways Apple is already a major player in AI »
7 ways Apple is already a major player in AI »
From XDA's story on how Apple uses artificial intelligence in its products already – how Siri Shortcuts and the Suggestions features learn from your habits.
Stephen Robles on New iPhone Shortcuts Actions in iOS 17.4 »
Stephen Robles on New iPhone Shortcuts Actions in iOS 17.4 »
Stephen Robles has a quick 10-minute video on using the new Get Orientation and Get Physical Activity actions from iOS 17.4.
New in the Shortcuts Library: Mastodon shortcuts
New in the Shortcuts Library: Mastodon shortcuts
Check out my collection of Mastodon shortcuts for interacting with your favorite instances. Be sure to get my Mastocuts bundle shortcut as well.
Look ahead at your day with “Agenda”
Look ahead at your day with “Agenda”
Learn how to build your own Siri-based Shortcuts – starting with a look ahead at your schedule for the day.