Instance Property


The highlight color applied to the label’s text.


var highlightedTextColor: UIColor? { get set }


Subclasses that use labels to implement a type of text button can use the value in this property when drawing the pressed state for the button. This color is applied to the label automatically whenever the isHighlighted property is set to true.

The default value of this property is nil .

See Also

Managing Highlight Values

var isHighlighted: Bool

A boolean value indicating whether the label should be drawn with a highlight.