Structure

UNNotificationCategoryOptions

Constants indicating how to handle notifications associated with this category.

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.

Beta
static var hiddenPreviewsShowSubtitle: UNNotificationCategoryOptions

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

Beta

Relationships

Conforms To

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software