Instance Property

identifier

The unique string assigned to the category.

Declaration

iOS, Mac Catalyst, watchOS
@property(readonly, copy, nonatomic) NSString *identifier;
macOS
@property(readonly, copy, atomic) NSString *identifier;

Discussion

Use this string to differentiate the different types of notifications that your app can send. To assign a category to a local notification, assign this string to the categoryIdentifier property of the content object. To assign a category to a remote notification, use the string as the value of the category key in the aps dictionary of the notification payload.

See Also

Getting the Category Information

actions

The actions to display when a notification of this type is presented.

intentIdentifiers

The intents related to notifications of this category.

hiddenPreviewsBodyPlaceholder

The placeholder text to display when notification previews are disabled for the app.

categorySummaryFormat

A format string for the summary description used when the system groups the category’s notifications.