init(title:style:)
Creates a new option for a person to choose to continue an app intent.
Declaration
init(title: LocalizedStringResource, style: IntentChoiceOption.Style = .default)Parameters
- title:
The localized text to display for this option.
- style:
The visual style to apply; for example, Destructive or Cancel. By default, the
stylefor an intent choice option is Default.