destructive
TypeScriptstatic get destructive(): IntentChoiceOption_StyleSwift declarationstatic var destructive: IntentChoiceOption.Style { get }Apply a style that indicates the option might change or delete data.
struct · iOS 26.0+ · SDK 27.1
struct StyleDefines the visual style and semantic meaning of an ``AppIntents/IntentChoiceOption``. The system uses the style to render the option appropriately in the user interface.
static get destructive(): IntentChoiceOption_StyleSwift declarationstatic var destructive: IntentChoiceOption.Style { get }Apply a style that indicates the option might change or delete data.
static get cancel(): IntentChoiceOption_StyleSwift declarationstatic var cancel: IntentChoiceOption.Style { get }Apply a style that indicates the option cancels the operation and leaves things unchanged.
static get default(): IntentChoiceOption_StyleSwift declarationstatic var `default`: IntentChoiceOption.Style { get }Apply the default style to the option’s button.
No declarations were skipped in this snapshot.