Type Property

defaultMetrics

The default font metrics object for content.

Declaration

@property(class, readonly, strong) UIFontMetrics *defaultMetrics;

Discussion

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

See Also

Creating a Font Metrics Object

- initForTextStyle:

Creates a font metrics object for the specified text style.

+ metricsForTextStyle:

Creates and returns a font metrics object for the specified text style.

UIFontTextStyle

Constants that describe the preferred styles to use for fonts.