Instance Property

titleTextAttributes

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

Declaration

var titleTextAttributes: [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 Title

var titlePositionAdjustment: UIOffset

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