Upravit

Sdílet prostřednictvím


UNUserNotificationCenterDelegate.OpenSettings Method

Definition

Called to open the in-app notification settings.

[Foundation.Export("userNotificationCenter:openSettingsForNotification:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 12, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.WatchOS, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void OpenSettings (UserNotifications.UNUserNotificationCenter center, UserNotifications.UNNotification notification);
abstract member OpenSettings : UserNotifications.UNUserNotificationCenter * UserNotifications.UNNotification -> unit
override this.OpenSettings : UserNotifications.UNUserNotificationCenter * UserNotifications.UNNotification -> unit

Parameters

center
UNUserNotificationCenter

The notification center that received the response.

notification
UNNotification

The notification.

Attributes

Applies to