Instance Property

fontColor

The color of the label.

Declaration

iOS, Mac Catalyst, tvOS, watchOS
var fontColor: UIColor? { get set }
macOS
var fontColor: NSColor? { get set }

Discussion

The default color is white.

See Also

Specifying a Label's Font

var fontName: String?

The font used for the text in the label.

var fontSize: CGFloat

The size of the font used in the label.