Constants that describe the preferred styles to use for fonts.
SDKs
- iOS 10.0+
- Mac Catalyst 13.0+
- tvOS 10.0+
- watchOS 3.0+
Framework
- UIKit
Declaration
struct TextStyle
Overview
Pass these constants to the preferred
method of UIFont
or the the preferred
method of UIFont
to retrieve the corresponding font information.