Enumeration

UIAlertActionStyle

Styles to apply to action buttons in an alert.

Declaration

typedef enum UIAlertActionStyle : NSInteger {
    ...
} UIAlertActionStyle;

Topics

Constants

UIAlertActionStyleDefault

Apply the default style to the action’s button.

UIAlertActionStyleCancel

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

UIAlertActionStyleDestructive

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