Type Property

default

The default font metrics object for content.

Declaration

class var `default`: UIFontMetrics { get }

Discussion

The font metrics object in this property uses the body style.

See Also

Creating a Font Metrics Object

init(forTextStyle: UIFont.TextStyle)

Creates a font metrics object for the specified text style.

struct UIFont.TextStyle

Constants that describe the preferred styles to use for fonts.