Contents

isDiscoverable

A boolean value that determines whether system features such as Shortcuts and Spotlight can discover this app intent.

Declaration

static var isDiscoverable: Bool { get }

Discussion

App Intents must be discoverable to support App Shortcuts. If your app intent isn’t discoverable, people can use it only when it’s directly connected by a button in a SwiftUI app or a widget.

This property is true by default.

See Also

Configuring the metadata