Instance Property

categoryIdentifier

The identifier of the app-defined category object.

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—that is, 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, this property is set to the value of the category key in the aps dictionary.

See Also

Identifying the Content

var threadIdentifier: String

An identifier that you use to group related notifications together.

var targetContentIdentifier: String?

The identifier for the window to be opened when the user taps a notification.

Beta

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