Contents

allowedExecutionTargets

The list of targets this intent can be executed against.

Declaration

static var allowedExecutionTargets: IntentExecutionTargets { get }

Discussion

By default, an intent can be executed against any target. Use this property to restrict execution to specific targets such as the main app, an App Intents extension, or a WidgetKit extension.

See Also

Specifying the intent’s allowed target