編輯

共用方式為


UNNotificationSettings.AlertSetting Property

Definition

Gets a value that tells whether the app may display alerts.

[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UserNotifications.UNNotificationSetting AlertSetting { [Foundation.Export("alertSetting")] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] get; }
member this.AlertSetting : UserNotifications.UNNotificationSetting

Property Value

A value that tells whether the app may display alerts.

Attributes

Applies to