Instance Property

threadIdentifier

An identifier that you use to group related notifications together.

Declaration

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

Discussion

You may specify any value for the string, but assign the same thread identifier string to all notifications that you want to group together visually.

See Also

Identifying the Content

categoryIdentifier

The identifier of the category object that represents the notification's type.