Contents

continueInForeground(_:alwaysConfirm:)

A method you call to ask a person to continue an action in the foreground.

Declaration

func continueInForeground(_ dialog: IntentDialog? = nil, alwaysConfirm: Bool = true) async throws

Discussion

To update your app’s state after a person permits the action to continue execution in the foreground, provide an optional continuation closure that the system executes on the main thread. The system passes the result of the closure back to the function’s caller.