Enumeration

UIFontDescriptorSymbolicTraits

A symbolic description of the stylistic aspects of a font.

Declaration

typedef enum UIFontDescriptorSymbolicTraits : uint32_t {
    ...
} UIFontDescriptorSymbolicTraits;

Overview

The lower 16 bits represent the typeface, and the upper 16 bits describe appearance of the font. The font appearance information represented by the upper 16 bits of NSFontSymbolicTraits can be used for stylistic font matching. UIFontDescriptorClass constants classify certain stylistic qualities of the font.

See Also

Fonts

Scaling Fonts Automatically

Scale text in your interface automatically by using Dynamic Type.

Adding a Custom Font to Your App

Add a custom font to your app and use it in your app’s interface.

UIFont

The interface for getting and setting font information.

UIFontDescriptor

Describes a font with a dictionary of attributes.

UIContentSizeCategoryAdjusting

A collection of methods that give controls an easy way to adopt automatic adjustment to content category changes.

UIFontMetrics

A utility object for obtaining custom fonts that scale to support Dynamic Type.