categoryIdentifier
The identifier of the notification’s category.
Declaration
var categoryIdentifier: String { get }Discussion
Use notification types to distinguish between the different types of notifications your app supports. You use this support primarily to create actionable notifications with custom action buttons, and to redirect your notifications through either your notification service app extension or your notification content app extension.
For remote notifications, the system sets this property to the value of the category key in the aps dictionary.