preferredFontDescriptor(withTextStyle:)
Returns a font descriptor that contains the specified text style and the user’s selected content size category.
Declaration
class func preferredFontDescriptor(withTextStyle style: UIFont.TextStyle) -> UIFontDescriptorParameters
- style:
The text style for which to return a font descriptor.
Return Value
The new font descriptor.