UIAlertActionStyle Enum

Definition

Enumeration of the styles showing the effect of a UIAlertAction.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UIAlertActionStyle
type UIAlertActionStyle = 
Inheritance
UIAlertActionStyle
Attributes

Fields

Cancel 1

A style indicating a UIAlertAction that cancels the operation associated with the alert.

Default 0

A style indicating default behavior.

Destructive 2

A style indicating the UIAlertAction might change or delete data.

Applies to