共用方式為


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。 最多允許四 UIUserNotificationAction 個。

Minimal 1

只有最少的空間可供通知的警示使用。 最多允許兩 UIUserNotificationAction 個。

適用於