CPApplicationDelegate.DidRegisterUserNotificationSettings Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Developers should not use this deprecated method. Developers should use 'UNUserNotificationCenter.RequestAuthorization' instead.
[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
Parameters
- application
- UIApplication
Reference to the UIApplication that invoked this delegate method.
- notificationSettings
- UIUserNotificationSettings
- Attributes