UNAlertStyle Enum

Definition

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

Alert 2

The notification may display a modal alert.

Banner 1

The notification may display a temporary slide-down banner alert.

None 0

The app may not display alerts.

Applies to