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

What’s New in Shortcuts in iOS and iPadOS 16.5, macOS 13.4, and watchOS 9.5 »
Apple has posted release notes for the updated actions added in ioS 16.5 – read the full update quoted.
iOS 17 Ready: 160+ Apps To Download Now
iOS 17 is here and that means app updates! I scoured the web and the App Store to find over 150 apps – check out the list of links.
The MacStories Review of iOS 12 (and Shortcuts)
Don't miss Federico's coverage of iOS and the Shortcuts app – his is the story to read to stay up-to-date on what's new & improved.
Shortcuts for Mac: Scripting your desktop with Apple’s Mac-only actions
Shortcuts for Mac includes Scripting actions for Apps, Windows, and the Script Editor — here's how to take advantage of these Mac-only actions.