Compartir a través de


UNUserNotificationCenterDelegate.OpenSettings Método

Definición

Se llama para abrir la configuración de notificación en la aplicación.

[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

Parámetros

center
UNUserNotificationCenter

Centro de notificaciones que recibió la respuesta.

notification
UNNotification

Notificación.

Atributos

Se aplica a