One Logo Pool Ball
AppIntents · IOS API REFERENCE

SystemShortcut

struct · iOS 27.0+ · SDK 27.1

struct SystemShortcut

An opaque reference to a user-configured action for use in a widget button. The system creates `SystemShortcut` instances to represent a person's choice when they configure the action for a button in a widget. It can represent a custom shortcut, App Shortcut, system action, or an installed app. `SystemShortcut` only exposes metadata that the system needs to fill the configuration UI, for example, the action's display representation. It doesn't provide the app or widget with a custom shortcut's actions, parameters, or implementation details.

Members (4)

get · iOS 27.0+

persistentIdentifier

TypeScript
static get persistentIdentifier(): string
Swift declaration
static let persistentIdentifier: String

A string that uniquely identifies this type.

get · iOS 27.0+

displayRepresentation

TypeScript
get displayRepresentation(): DisplayRepresentation
Swift declaration
var displayRepresentation: DisplayRepresentation { get }

The visual elements to display when presenting an instance of the type.

get · iOS 27.0+

typeDisplayRepresentation

TypeScript
static get typeDisplayRepresentation(): TypeDisplayRepresentation
Swift declaration
static let typeDisplayRepresentation: TypeDisplayRepresentation

A short, localized, human-readable name for the type.

get · iOS 27.0+

defaultResolverSpecification

TypeScript
static get defaultResolverSpecification(): EmptyResolverSpecification<SystemShortcut>
Swift declaration
static let defaultResolverSpecification: EmptyResolverSpecification<SystemShortcut>

Skipped declarations

No declarations were skipped in this snapshot.

All AppIntents types →