Поделиться через


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
Атрибуты

Применяется к