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:


Now we have to add all fonts in Copy Bundle Resources under Build Phases like:

So successfully fonts are added in our project. Now we are going to test it by printing all available fonts in the logs. Write this pretty code to print fonts in log:

for family: String in UIFont.familyNames
for names: String in UIFont.fontNames(forFamilyName: family)
print("== \(names)")

I hope this article helps you to use custom font in iOS app. If you have any query regarding it. You can freely contact/comment.

Mr.Javed Multani

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