Condividi tramite


UNUserNotificationCenterDelegate.OpenSettings Metodo

Definizione

Chiamato per aprire le impostazioni di notifica in-app.

[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

Parametri

center
UNUserNotificationCenter

Centro notifiche che ha ricevuto la risposta.

notification
UNNotification

Notifica.

Attributi

Si applica a