Share via


UIAlertControllerStyle Enum

Definition

Enumerates whether a UIAlertController is displaying an action sheet or an alert.

[ObjCRuntime.Native]
public enum UIAlertControllerStyle
[<ObjCRuntime.Native>]
type UIAlertControllerStyle = 
Inheritance
UIAlertControllerStyle
Attributes

Fields

Name Value Description
ActionSheet 0

Displays the alert controller as an action sheet.

Alert 1

Displays the alert controller as an alert.

Remarks

This is how an action sheet is displayed:

This is how an alert is displayed:

Applies to