Initializer

init(identifier:actions:intentIdentifiers:hiddenPreviewsBodyPlaceholder:categorySummaryFormat:options:)

Creates a category object containing the specified actions and options, a hidden previous placeholder, and the category’s summary format string.

Declaration

convenience init(identifier: String, actions: [UNNotificationAction], intentIdentifiers: [String], hiddenPreviewsBodyPlaceholder: String?, categorySummaryFormat: String?, options: UNNotificationCategoryOptions = [])

See Also

Creating a Notification Category