Enumeration

UIAlertAction.Style

Styles to apply to action buttons in an alert.

Declaration

enum Style : Int

Topics

Constants

case `default`

Apply the default style to the action’s button.

case cancel

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

case destructive

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