AlertButtonType

@objc
public enum AlertButtonType : Int

Describes the appearances of the alert buttons.

  • Apply the default style to the button.

    Declaration

    Swift

    case `default` = 0
  • Apply a style that indicates the action cancels the operation and leaves things unchanged.

    Declaration

    Swift

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

    Declaration

    Swift

    case destructive