Modifica

Condividi tramite


UIApplication.ScheduledLocalNotifications Property

Definition

An array of UILocalNotifications that are currently scheduled.

[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UNUserNotificationCenter.GetPendingNotificationRequests' instead.")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual UIKit.UILocalNotification[] ScheduledLocalNotifications { [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UNUserNotificationCenter.GetPendingNotificationRequests' instead.")] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] [Foundation.Export("scheduledLocalNotifications", ObjCRuntime.ArgumentSemantic.Copy)] get; [ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UNUserNotificationCenter.GetPendingNotificationRequests' instead.")] [ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)] [Foundation.Export("setScheduledLocalNotifications:", ObjCRuntime.ArgumentSemantic.Copy)] set; }
member this.ScheduledLocalNotifications : UIKit.UILocalNotification[] with get, set

Property Value

An array of UILocalNotification objects.

Attributes

Remarks

If application developers set this property, the local notifications are replaced via a series of calls to CancelLocalNotification(UILocalNotification) and ScheduleLocalNotification(UILocalNotification).

Applies to