Instance Property

category

Name of the action group corresponding to this notification.

Declaration

readonly attribute String category;

Discussion

Categories of actions allow you to present custom actions to the user on your push notifications. For details, see UIUserNotificationCategory.

See Also

Presenting Notifications

alertActionLocalizationKey

A key to get a localized right button title that appears in the alert dialog.

alertBody

The text of the alert message.

alertLaunchImage

The filename of an image file in the app bundle used as a launch image.

alertLocalizationArgs

An array of strings that appear as variables if alertLocalizationKey is a format specifier.

alertLocalizationKey

A key to a localized alert message.

badge

The badge number to display.

soundName

The name of a sound file in the app bundle to play as an alert.