Font Set
The MFUIFontSet class manages a set of UIFont properties used in UIKit views. All fonts used in UIKit are configured under this class but you can also customize the values of MFUIFontSet to use different fonts in views.
#
Customize fontsYou can override the properties of MFUIFontSet to customize the fonts. You must configure the fonts in MFUIFontSet first before creating custom themes in order to apply the customized fonts to the themes. Any font changes made after won't be applied to themes that were created before. Fonts that are selected to be used in the global theme will be applied to all themes in UIKit.
Note : you can make the above change in the AppDelegate Class.
#
Fonts ListElement | Font | Style | Size |
---|---|---|---|
H1 | SF Pro Text | Bold | 18 |
H2 | SF Pro Text | Medium | 18 |
H3 | SF Pro Text | Bold | 16 |
H4 | SF Pro Text | Regular | 12 |
Subtitle 1 | SF Pro Text | Medium | 16 |
Subtitle 2 | SF Pro Text | Regular | 16 |
Body 1 | SF Pro Text | Regular | 16 |
Body 2 | SF Pro Text | Semibold | 14 |
Body 3 | SF Pro Text | Regular | 14 |
Body 4 | SF Pro Text | Bold | 14 |
Button 1 | SF Pro Text | Semibold | 18 |
Button 2 | SF Pro Text | Medium | 16 |
Button 3 | SF Pro Text | Medium | 14 |
Caption 1 | SF Pro Text | Bold | 12 |
Caption 2 | SF Pro Text | Regular | 12 |
Caption 3 | SF Pro Text | Medium | 11 |
Caption 4 | SF Pro Text | Regular | 11 |