WKInterfaceController.HandleLocalNotificationAction Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Разработчики не должны использовать этот нерекомендуемый метод. Разработчикам следует использовать вместо него UNUserNotificationCenterDelegate.
[Foundation.Export("handleActionWithIdentifier:forLocalNotification:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UNUserNotificationCenterDelegate' instead.")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.WatchOS, 3, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UNUserNotificationCenterDelegate' instead.")]
public virtual void HandleLocalNotificationAction(string identifier, UIKit.UILocalNotification localNotification);
abstract member HandleLocalNotificationAction : string * UIKit.UILocalNotification -> unit
override this.HandleLocalNotificationAction : string * UIKit.UILocalNotification -> unit
Параметры
- localNotification
- UILocalNotification
- Атрибуты