Instance Property

threadIdentifier

An identifier that you use to group related notifications together.

Declaration

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

Discussion

For remote notifications, this property is set to the value of the thread-id key in the aps dictionary.

See Also

Identifying the Content

categoryIdentifier

The identifier of the app-defined category object.

targetContentIdentifier

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