Support text scaling
How to support preferred content size part 2
Published in
8 min readAug 7, 2022
Read part 1: Change text size
To support text scaling, you need to configure your labels to use the preferred content size category set by the user. Instead of applying a fixed font size to a label, you apply a text style.
Use text styles
Since iOS 7, Apple provides eleven different text styles:
.largeTitle
.title1
.title2
.title3
.headline
.body
.callout
.subhead
.footnote
.caption1
.caption2