Enumeration

CPAlertAction.Style

Display styles for an alert’s action button.

Declaration

enum Style : UInt

Topics

Styles

case `default`

The default display style for an action button.

case cancel

The display style indicating that the action leaves data unchanged.

case destructive

The style indicating that the action changes or deletes data.

See Also

Getting the Action Style

var style: CPAlertAction.Style

The display style for the action button.