UIKit.UIApplication.ApplicationIconBadgeNumber Property
Numeric value to display as the application badge number.

Syntax

[get: Foundation.Export("applicationIconBadgeNumber")]
[set: Foundation.Export("setApplicationIconBadgeNumber:")]
public virtual nint ApplicationIconBadgeNumber { get; set; }

Value

Remarks

When this value is zero, no badge is displayed. When this value is different than zero, the value is displayed as a badge on the application's icon by the operating system.

Starting with iOS 8.0, your application needs to register for user notifications to be able to set the application icon badge number.   You do this by calling the UIApplication.RegisterUserNotificationSettings.

Requirements

Namespace: UIKit
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0