Freigeben über


UIApplicationDelegate.ReceivedLocalNotification Methode

Definition

Gibt an, dass die Anwendung einen UILocalNotificationempfangen hat.

[Foundation.Export("application:didReceiveLocalNotification:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UNUserNotificationCenterDelegate.WillPresentNotification/DidReceiveNotificationResponse' instead.")]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void ReceivedLocalNotification (UIKit.UIApplication application, UIKit.UILocalNotification notification);
abstract member ReceivedLocalNotification : UIKit.UIApplication * UIKit.UILocalNotification -> unit
override this.ReceivedLocalNotification : UIKit.UIApplication * UIKit.UILocalNotification -> unit

Parameter

application
UIApplication

Verweis auf die UIApplication, die diese Delegatmethode aufgerufen hat.

notification
UILocalNotification
Attribute

Gilt für: