Modifier

Partager via


UIApplicationDelegate_Extensions.ReceivedLocalNotification Method

Definition

Indicates that the app received a local notification.

[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 static void ReceivedLocalNotification (this UIKit.IUIApplicationDelegate This, UIKit.UIApplication application, UIKit.UILocalNotification notification);
static member ReceivedLocalNotification : UIKit.IUIApplicationDelegate * UIKit.UIApplication * UIKit.UILocalNotification -> unit

Parameters

This
IUIApplicationDelegate

The instance on which this extension method operates.

application
UIApplication

Reference to the UIApplication that invoked this delegate method.

notification
UILocalNotification
Attributes

Applies to