UIAlertControllerStyle Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Enumerates whether a UIAlertController is displaying an action sheet or an alert.
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UIAlertControllerStyle
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: