編輯

共用方式為


UNNotificationContent.Badge Property

Definition

Gets the number to display in the app's icon badge.

public virtual Foundation.NSNumber Badge { [Foundation.Export("badge", ObjCRuntime.ArgumentSemantic.Copy)] get; }
member this.Badge : Foundation.NSNumber

Property Value

The number to display in the app's icon badge.

This value can be null.

Attributes

Applies to