deferred
An option to bring the app to the foreground while running the intent’s action or shortly before the action completes.
Declaration
static var deferred: IntentModes.ForegroundMode { get }Discussion
This option ensures the transition of the app to the foreground. Call the AppIntent/continueInForeground(_:alwaysConfirm:) or needsToContinueInForegroundError(_:alwaysConfirm:) method from your intent’s perform() method to transition to the foreground at the time you choose. If you don’t call one of these methods, the system transitions the app to the foreground at the end of your perform() method.