Add custom font in XCode for iOS app

Mr.Javed Multani
3 min readOct 6, 2020

Different fonts for the app gives the attractive look and design which creates the positive image in user mind for usage prospectives.

For example, If you are going to develop the app for magazine or newspaper publisher company then you should choose right font for the app which looking like user reads the magazine or newspaper.

First of all you need to all font files which you gonna use in your app. The fonts may be provided by graphic designer or you will get it from online websites.

You should have all fonts files either in .ttf or .otf which format support by XCode. Now drag and drop all font files to XCode specific folder.

Once you have added the font in XCode make sure all fonts are present there.

We can also view the font style by opening it into Xcode.SO basically its look like:

Now we have to mentions all the fonts in our info.plist file like:

we can also add it by open as source code for info.plist and add follow code:

<key>UIAppFonts</key>
<array>
<string>Roboto-Bold.ttf</string>
<string>Roboto-Light.ttf</string>
<string>Roboto-Medium.ttf</string>
<string>Roboto-Regular.ttf</string>
<string>FontAwesome.ttf</string>…

--

--

Mr.Javed Multani

Software Engineer | Certified ScrumMaster® (CSM) | UX Researcher | Youtuber | Tech Writer