Modifica

Condividi tramite


UIApplicationDelegate_Extensions.DidRegisterUserNotificationSettings Method

Definition

Developers should not use this deprecated method. Developers should use 'UNUserNotificationCenter.RequestAuthorization' instead.

[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 static void DidRegisterUserNotificationSettings (this UIKit.IUIApplicationDelegate This, UIKit.UIApplication application, UIKit.UIUserNotificationSettings notificationSettings);
static member DidRegisterUserNotificationSettings : UIKit.IUIApplicationDelegate * UIKit.UIApplication * UIKit.UIUserNotificationSettings -> unit

Parameters

This
IUIApplicationDelegate

The instance on which this extension method operates.

application
UIApplication
notificationSettings
UIUserNotificationSettings
Attributes

Applies to