Bearbeiten

Freigeben über


UIApplication.CancelAllLocalNotifications Method

Definition

Developers should not use this deprecated method. Developers should use 'UNUserNotificationCenter.RemoveAllPendingNotificationRequests' instead.

[Foundation.Export("cancelAllLocalNotifications")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UNUserNotificationCenter.RemoveAllPendingNotificationRequests' instead.")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void CancelAllLocalNotifications ();
abstract member CancelAllLocalNotifications : unit -> unit
override this.CancelAllLocalNotifications : unit -> unit
Attributes

Applies to