UIApplicationDelegate.ReceivedLocalNotification 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指示应用程序收到了 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
- 属性