The number to display as the app’s icon badge.
- iOS 10.0+
- macOS 10.14+
- Mac Catalyst 13.0+
- tvOS 10.0+
- watchOS 3.0+
When the number in this property is
0, the system does not display a badge. When the number is greater than
0, the system displays the badge with the specified number. When the value in this property is
nil, the system leaves the current badge unchanged.