Edit

Share via


UNUserNotificationCenter.GetNotificationSettings Method

Definition

Returns the notification settings object for the app, processing it before it is returned.

[Foundation.Export("getNotificationSettingsWithCompletionHandler:")]
public virtual void GetNotificationSettings (Action<UserNotifications.UNNotificationSettings> completionHandler);
abstract member GetNotificationSettings : Action<UserNotifications.UNNotificationSettings> -> unit
override this.GetNotificationSettings : Action<UserNotifications.UNNotificationSettings> -> unit

Parameters

completionHandler
Action<UNNotificationSettings>

An action that takes a notification settings object and returns void.

Attributes

Applies to