UIKit.UIApplication.RegisterUserNotificationSettings Method
Registers the preferred options for user notification.

Syntax

[Foundation.Export("registerUserNotificationSettings:")]
[ObjCRuntime.Availability(Introduced=ObjCRuntime.Platform.iOS_8_0)]
public virtual void RegisterUserNotificationSettings (UIUserNotificationSettings notificationSettings)

Parameters

notificationSettings
Notification types that the app wants to use.

Remarks

This displays, if necessary, a standard privacy dialog. Once the user interacts with it, the UIApplicationDelegate.DidRegisterUserNotifications is called.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0