Compartilhar via


CPApplicationDelegate.DidRegisterUserNotificationSettings Método

Definição

Os desenvolvedores não devem usar esse método preterido. Os desenvolvedores devem usar 'UNUserNotificationCenter.RequestAuthorization' em vez disso.

[Foundation.Export("application:didRegisterUserNotificationSettings:")]
[ObjCRuntime.Deprecated(ObjCRuntime.PlatformName.iOS, 10, 0, ObjCRuntime.PlatformArchitecture.None, "Use 'UNUserNotificationCenter.RequestAuthorization' instead.")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Unavailable(ObjCRuntime.PlatformName.TvOS, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void DidRegisterUserNotificationSettings (UIKit.UIApplication application, UIKit.UIUserNotificationSettings notificationSettings);
abstract member DidRegisterUserNotificationSettings : UIKit.UIApplication * UIKit.UIUserNotificationSettings -> unit
override this.DidRegisterUserNotificationSettings : UIKit.UIApplication * UIKit.UIUserNotificationSettings -> unit

Parâmetros

application
UIApplication

Referência à UIApplication que invocou esse método delegado.

notificationSettings
UIUserNotificationSettings
Atributos

Aplica-se a