Contents

AppIntentSceneDelegate

The interface a UIKit scene delegate uses to receive an app intent and configure the scene’s views.

Declaration

protocol AppIntentSceneDelegate : UISceneDelegate

Mentioned in

Overview

Adopt this protocol in your UIKit scene delegate objects to receive incoming app intents and configure your interface in response. When an app intent needs to run in the foreground, the system picks one of your app’s scenes to display. It then uses this protocol to deliver the app intent to the scene so you can configure the scene accordingly. For example, you might update the scene’s views to display an entity or other content referenced by the app intent. The system delivers the app intent to your scene code before it runs the app intent’s perform() method. If your scene delegate doesn’t implement this protocol, the system gives your app intent an opportunity to configure the scene through the UISceneAppIntent protocol.

For more information about how to use app intents to configure your app’s interface, see Directing app intents to your app’s scenes.

Topics

Incorporating the app intent

See Also

Scene support