Take the 2-minute tour ×

please tell me how to add new font to iphone xcode3.2.

thanks in advance.

share|improve this question
Updated my answer with UIAppFonts info! –  jtbandes Jul 28 '10 at 6:06

4 Answers 4

up vote 8 down vote accepted

This functionality isn't built into UILabel/UIFont in iOS < 3.2. But there is a third-party solution you can use: FontLabel

In iOS 3.2+, there's the UIAppFonts plist key!

Just do this before using it: add your font file (such as myfont.ttf) to your project, then edit the Info.plist like so:


share|improve this answer
but i want to use UIAppFonts you have any idea how to use way –  priyanka Jul 28 '10 at 6:03
i use this approach but when i load font using below code UIFont *myF = [UIFont fontWithName:@"my font name" size:12]; myF is return null; –  priyanka Jul 28 '10 at 9:31
I would think that the name is wrong or the file isn't getting included in the project. There's a good post about this here: perfectline.co.uk/blog/… –  bjtitus Jul 28 '10 at 13:31
Thanks jtbandes; it is very helpful... –  jfalexvijay Jul 11 '11 at 6:33
Hello! For me it doesn't work it crashes with an EXC_BAD_ACCESS when i want to retrieve the fontfamilynames. I already posted a questions here. Could you tell me, what i'm doing wrong? Thx –  NicTesla Jan 4 '12 at 13:32

The above methods worked for me in xcode 3.2! Thanks!:

step 1: drag your font into your project (prob a good idea to not have spaces in the font name) step 2: add a row to your info.plist file like shown above to enter your font. step 3: in, viewDidLoad() or wherever you are setting your label, enter code:

 UIFont *myFont = [UIFont fontWithName:@"secondbreakfast" size:40];
 myLabel.font = myFont;
share|improve this answer

I did it with the following way:

  1. Add the font type to the Xcode : Under the XIB, go the font setting -> manage font

  2. Add the font to the label:

    UIFont *myFont = [UIFont fontWithName:@"myfont" size:12]; label.font = myFont;

Hope it help

share|improve this answer

But in xcode 5

  1. Go to xcode preferences -> Fonts and colors.
  2. Then click on T button in the textField of Font.

A list of all colors open then click on setting button in bottom left corner and go to manage fonts

Here select All fonts and then add your own ttf file by clicking on plus button and your Font will be added.

share|improve this answer
Xcode is only up to version 4.x do you mean iOS 5 ? –  Mark Mar 4 '12 at 12:58

Your Answer


