Instance Property

applicationIconBadgeNumber

The number to display as the app’s icon badge.

Declaration

var applicationIconBadgeNumber: Int { get set }

Discussion

The default value of this property is 0, which means that no badge is displayed.

See Also

Configuring Other Parts of the Notification

var soundName: String?

The name of the file containing the sound to play when an alert is displayed.

Deprecated
var userInfo: [AnyHashable : Any]?

A dictionary for passing custom information to the notified app.

Deprecated