Instance Property

badgeTitlePositionAdjustment

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

Declaration

var badgeTitlePositionAdjustment: UIOffset { get set }

Discussion

Use this property to specify the distance, in points, by which to offset the title. Positive values move the title down and to the right. Negative values move the title up and to the left.

See Also

Configuring the Badge Appearance

var badgeTextAttributes: [NSAttributedString.Key : Any]

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

var badgeBackgroundColor: UIColor?

The background color of the badge.

var badgePositionAdjustment: UIOffset

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