Compartir a través de


WKInterfaceController.HandleLocalNotificationAction Método

Definición

Los desarrolladores no deben usar este método en desuso. En su lugar, los desarrolladores deben usar "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

Parámetros

identifier
String

Se agregará.

Este parámetro puede ser null.

localNotification
UILocalNotification
Atributos

Se aplica a