A collection of methods that give controls an easy way to adopt automatic adjustment to content category changes.


protocol UIContentSizeCategoryAdjusting


Adjusting the Size of Fonts

var adjustsFontForContentSizeCategory: Bool

A Boolean that indicates whether the object automatically updates its font when the device's content size category changes.



Inherits From

Conforming Types

See Also


Scaling Fonts Automatically

Scale text in your interface automatically by using Dynamic Type.

Adding a Custom Font to Your App

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 UIFontDescriptor

Describes a font with a dictionary of attributes.

struct UIFontDescriptor.SymbolicTraits

A symbolic description of the stylistic aspects of a font.

class UIFontMetrics

A utility object for obtaining custom fonts that scale to support Dynamic Type.