A view controller that manages the interface for selecting a font provided by the system or installed by the user.
- iOS 13.0+
- Mac Catalyst 13.0+
UIFont to provide the user access to all the fonts on their device. Directly querying
UIFont provides only system fonts, but the user may have additional fonts on their device. When the user selects one of these nonsystem fonts in the font picker, the system grants your app access to the font.
The font picker has several customization options collected into a
UIFont object. For example, you can set
true so that the user can select not only the font but a bold or italic face within that font family. Customize the configuration object first, then pass it as an argument in the font picker’s