One Logo Pool Ball
AppIntents · IOS API REFERENCE

IntentChoiceOption.Style

struct · iOS 26.0+ · SDK 27.1

struct Style

Defines the visual style and semantic meaning of an ``AppIntents/IntentChoiceOption``. The system uses the style to render the option appropriately in the user interface.

Members (3)

get · iOS 26.0+

destructive

TypeScript
static get destructive(): IntentChoiceOption_Style
Swift declaration
static var destructive: IntentChoiceOption.Style { get }

Apply a style that indicates the option might change or delete data.

get · iOS 26.0+

cancel

TypeScript
static get cancel(): IntentChoiceOption_Style
Swift declaration
static var cancel: IntentChoiceOption.Style { get }

Apply a style that indicates the option cancels the operation and leaves things unchanged.

get · iOS 26.0+

default

TypeScript
static get default(): IntentChoiceOption_Style
Swift declaration
static var `default`: IntentChoiceOption.Style { get }

Apply the default style to the option’s button.

Skipped declarations

No declarations were skipped in this snapshot.

All AppIntents types →