A collection of methods that give controls an easy way to adopt automatic adjustment to content category changes.
SDKs
- iOS 10.0+
- Mac Catalyst 13.0+
- tvOS 10.0+
Framework
- UIKit
Declaration
protocol UIContentSizeCategoryAdjusting
A collection of methods that give controls an easy way to adopt automatic adjustment to content category changes.
SDKs
Framework
protocol UIContentSizeCategoryAdjusting
var adjusts Font For Content Size Category: Bool
A Boolean value indicating whether the object automatically updates its font when the device's content size category changes.
Required.
Scale text in your interface automatically by using Dynamic Type.
Add a custom font to your app and use it in your app’s interface.
class UIFont
The interface for getting and setting font information.
class UIFont Descriptor
Describes a font with a dictionary of attributes.
struct UIFont Descriptor .Symbolic Traits
A symbolic description of the stylistic aspects of a font.
class UIFont Metrics
A utility object for obtaining custom fonts that scale to support Dynamic Type.