Contents

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 don’t 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