dynamic
An option to bring the app to the foreground if conditions permit it.
Declaration
static var dynamic: IntentModes.ForegroundMode { get }Discussion
This option allows you to choose whether to transition an action from the background to the foreground. If your app is running in the background, call the AppIntent/continueInForeground(_:alwaysConfirm:) or needsToContinueInForegroundError(_:alwaysConfirm:) method from your intent’s perform() method to bring it to the foreground. If you don’t call one of these methods, the app continues running the app intent’s code in the background.