badge
The number that your app’s icon displays.
Declaration
@NSCopying var badge: NSNumber? { get set }Discussion
Use this property to specify the number to apply to the app’s icon when the notification arrives. If your app isn’t authorized to display badge-based notifications, the system ignores this property.
Specify the number 0 to remove the current badge, if present. Specify a number greater than 0 to display a badge with that number. Specify nil to leave the current badge unchanged.