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

iOS Today #611: Setting up Focus Modes on your iPhone
iOS Today #611: Setting up Focus Modes on your iPhone
My guest spot on iOS Today on TWiT where we talked about how to personalize your custom Focus modes in iOS 15 or iOS 16, from silencing specific notifications to switching screens based on location.
New shortcuts to Post Threads in the Shortcuts Library
New shortcuts to Post Threads in the Shortcuts Library
New in the Shortcuts Library – shortcuts to create new posts on Threads, from text to links to files.
Drafts 50 released! Shortcuts Revisited, AppleScript Improved (Client Work)
Drafts 50 released! Shortcuts Revisited, AppleScript Improved (Client Work)
I had the pleasure of helping Greg Pierce update his Shortcuts support for Drafts – check out the release.
Preventing food from expiring with two Siri Shortcuts
Preventing food from expiring with two Siri Shortcuts
When you have a bad habit you just can’t break, setting up some Siri Shortcuts can help. I put together two custom shortcuts for logging when my food expires into Trello and Reminders - plus I can ask Siri to let me know the status of my kitchen.