UIAlertActionStyle 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
UIAlertActionStyleUIAlertActionStyle
Attributes

Fields

Cancel Cancel 1

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

Default Default 0

A style indicating default behavior.

Destructive Destructive 2

A style indicating the UIAlertAction might change or delete data.

Applies to