Type Alias

UIFontDescriptorTraitKey

Keys that you use to retrieve the font descriptor's trait information.

Declaration

typedef NSString *UIFontDescriptorTraitKey;

Discussion

Use these keys to fetch values from the dictionary associated with the UIFontDescriptorTraitsAttribute key.

Topics

Font Traits

UIFontSlantTrait

The relative slant angle of the font.

UIFontWeightTrait

The normalized font weight.

UIFontWidthTrait

The inter-glyph spacing of the font.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software