UIUserNotificationActionContext 枚举

定义

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UNNotificationCategory.Actions' instead.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
public enum UIUserNotificationActionContext
type UIUserNotificationActionContext = 
继承
UIUserNotificationActionContext
属性

字段

Default 0

将显示通知警报的完整 UI。 最多允许 4 UIUserNotificationAction个 。

Minimal 1

只有最少的空间可用于通知的警报。 最多允许两 UIUserNotificationAction个 。

适用于