Instance Property

badgeTextAttributes

String attributes to apply to the text of the item's badge.

Declaration

var badgeTextAttributes: [NSAttributedString.Key : Any] { get set }

Discussion

If you do not specify font or color attributes for the text, UIKit supplies appropriate default values. For a list of possible keys, see NSAttributedString.Key.

See Also

Configuring the Badge Appearance

var badgeBackgroundColor: UIColor?

The background color of the badge.

var badgeTitlePositionAdjustment: UIOffset

The additional amount by which to offset the badge's title horizontally and vertically.

var badgePositionAdjustment: UIOffset

The additional amount by which to offset the badge horizontally and vertically.