Adding custom font in xcode…

Hi
steps of adding custom fonts in xcode is

  1. Add your custom font files into your project using XCode as resources.
  2. Add key font provided by application to your info plist.(array key)
  3. For each font add the full font file name along with extension as item into the key.
  4. Now you can use the font as   UIFont *customFont = [UIFont fontWithName:fontName size:fontSize];
  5. The catch   the font name is not the font file name every time…..
  6. you can install the font file to check its font name….use that name and you are sorted….

the correct name of the font (“Carnivalee Freakshow” in this case) is displayed at the top bar when you open the font file…

Note:-  If it still dosent work go to build phases ->copy bundle resources and add all your font files 

was helped by this site

Do you use var args it is simple check out

A pat on the back !!