UNAlertStyle 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 the kinds of alerts that notifications display.
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UNAlertStyle
type UNAlertStyle =
- Inheritance
-
UNAlertStyle
- Attributes
Fields
Name | Value | Description |
---|---|---|
None | 0 | The app may not display alerts. |
Banner | 1 | The notification may display a temporary slide-down banner alert. |
Alert | 2 | The notification may display a modal alert. |