Instance Property


Text that is displayed in the upper-right corner of the item with a surrounding red oval.


var badgeValue: String? { get set }


The default value is nil.

See Also

Configuring the Badge

var badgeColor: UIColor?

The background color to apply to the badge.

func badgeTextAttributes(for: UIControl.State) -> [NSAttributedString.Key : Any]?

Retrieves the custom text attributes associated with the item's badge text.