UIApplication.CancelLocalNotification(UILocalNotification) Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Bricht eine lokale Benachrichtigung ab.
[Foundation.Export("cancelLocalNotification:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UNUserNotificationCenter.RemovePendingNotificationRequests' instead.")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void CancelLocalNotification (UIKit.UILocalNotification notification);
abstract member CancelLocalNotification : UIKit.UILocalNotification -> unit
override this.CancelLocalNotification : UIKit.UILocalNotification -> unit
Parameter
- notification
- UILocalNotification
Die lokale Benachrichtigung, die abgebrochen wird.
- Attribute
Hinweise
Wenn die Benachrichtigung derzeit angezeigt wird, wird sie entfernt. Wenn sie nicht angezeigt wird, wird die Benachrichtigung in der Warteschlange gelöscht.