Keys that you use to retrieve the font descriptor's trait information.
SDKs
- iOS 11.0+
- Mac Catalyst 13.0+
- tvOS 11.0+
- watchOS 4.0+
Framework
- UIKit
Declaration
typedef NSString *UIFontDescriptorTraitKey;
Discussion
Use these keys to fetch values from the dictionary associated with the UIFont
key.