Structure

UNNotificationCategoryOptions

Constants indicating how to handle notifications associated with this category.

Declaration

struct UNNotificationCategoryOptions

Topics

Constants

static var customDismissAction: UNNotificationCategoryOptions

Send dismiss actions to the UNUserNotificationCenter object’s delegate for handling.

static var allowInCarPlay: UNNotificationCategoryOptions

Allow CarPlay to display notifications of this type.

static var hiddenPreviewsShowTitle: UNNotificationCategoryOptions

Show the notification's title, even if the user has disabled notification previews for the app.

static var hiddenPreviewsShowSubtitle: UNNotificationCategoryOptions

Show the notification's subtitle, even if the user has disabled notification previews for the app.

static var allowAnnouncement: UNNotificationCategoryOptions

Allow notifications to be automatically read by Siri when the user is using AirPods.

Relationships

Conforms To

See Also

Getting the Category Options

var options: UNNotificationCategoryOptions

Options for how to handle notifications of this type.