Freigeben über


WKInterfaceController.HandleLocalNotificationAction Methode

Definition

Entwickler sollten diese veraltete Methode nicht verwenden. Entwickler sollten stattdessen "UNUserNotificationCenterDelegate" verwenden.

[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

Parameter

identifier
String

Muss hinzugefügt werden.

Dieser Parameter kann null sein.

localNotification
UILocalNotification
Attribute

Gilt für: