Instance Property

shouldBadge

A Boolean setting that controls whether a badge value should be incremented.

Declaration

@property(nonatomic, assign) BOOL shouldBadge;

Discussion

The default value of this property is NO. Setting it to YES causes the system to increment the current badge count for the app whenever the corresponding push notification is delivered.

See Also

Accessing the Notification Info

alertBody

The text to use for the alert message.

alertLocalizationKey

The key that identifies the localized string to use for the alert message.

alertLocalizationArgs

The array of fields to use when building an alert message.

alertActionLocalizationKey

The key that identifies the text to use for the action button in the alert panel.

alertLaunchImage

The filename of an image to use as a launch image.

category

Name of the action group corresponding to this notification.

soundName

The name of the sound file to play when a notification arrives.

shouldSendContentAvailable

A Boolean value indicating whether the push notification should include the content-available flag.