Instance Property

titlePositionAdjustment

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

Declaration

var titlePositionAdjustment: 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 Title

var titleTextAttributes: [NSAttributedString.Key : Any]

String attributes to apply to the text of the bar button item's title.