Use several-lines codes to change the system font in iOS development.
-
Just drag the files (.h and .m) into your project
-
Then choose a font family name and give it to changedSystemFontOfSize: method
-
import the header when you need it. The suggested way is to import it to pch file of your project.
-
Now you will get your system font family changed!
And here is the result:
Note that you can obtain all system font family names by the following codes: