CPApplicationDelegate.ReceivedLocalNotification 方法

定义

指示应用程序收到了 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

参数

application
UIApplication

对调用此委托方法的 UIApplication 的引用。

notification
UILocalNotification
属性

适用于