Link Search Menu Expand Document

AlertAction.Style

Styles to apply to action buttons in an alert.

public enum Style: Int 

Inheritance

Int

Enumeration Cases

`default`

Apply the default style to the action’s button.

case `default`

cancel

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

case cancel

destructive

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

case destructive