Type Property

default

The default typeface for an app’s user interface.

Declaration

static let `default`: UIFontDescriptor.SystemDesign

Discussion

The returned typeface depends on the system. On iOS, using this constant with withDesign(_:) returns SF Pro, while on watchOS that returns SF Compact.

See Also

Typeface Designs

static let monospaced: UIFontDescriptor.SystemDesign

The monospace variant of the default typeface.

static let rounded: UIFontDescriptor.SystemDesign

The rounded variant of the default typeface.

static let serif: UIFontDescriptor.SystemDesign

The serif variant of the default typeface.