Type Method

categoryWithIdentifier:actions:intentIdentifiers:hiddenPreviewsBodyPlaceholder:categorySummaryFormat:options:

Creates a category object containing the specified actions and options, a hidden previous placeholder, and the category’s summary format string.

Declaration

+ (instancetype)categoryWithIdentifier:(NSString *)identifier actions:(NSArray<UNNotificationAction *> *)actions intentIdentifiers:(NSArray<NSString *> *)intentIdentifiers hiddenPreviewsBodyPlaceholder:(NSString *)hiddenPreviewsBodyPlaceholder categorySummaryFormat:(NSString *)categorySummaryFormat options:(UNNotificationCategoryOptions)options;

See Also

Creating a Notification Category

+ categoryWithIdentifier:actions:intentIdentifiers:options:

Creates a category object containing the specified actions and options.

+ categoryWithIdentifier:actions:intentIdentifiers:hiddenPreviewsBodyPlaceholder:options:

Creates a category object containing the specified actions, options, and a hidden previous placeholder.