Szerkesztés

Megosztás a következőn keresztül:


CPApplicationDelegate.ReceivedLocalNotification Method

Definition

Indicates that the application received a UILocalNotification.

[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

Parameters

application
UIApplication

Reference to the UIApplication that invoked this delegate method.

notification
UILocalNotification
Attributes

Applies to