Condividi tramite


WKInterfaceController.HandleLocalNotificationAction Metodo

Definizione

Gli sviluppatori non devono usare questo metodo deprecato. Gli sviluppatori devono usare invece "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

Parametri

identifier
String

Da aggiungere.

Questo parametro può essere null.

localNotification
UILocalNotification
Attributi

Si applica a