steps of adding custom fonts in xcode is
Add your custom font files into your project using XCode as resources.
Add key font provided by application to your info plist.(array key)
- For each font add the full font file name along with extension as item into the key.
- Now you can use the font as UIFont *customFont = [UIFont fontWithName:fontName size:fontSize];
- The catch the font name is not the font file name every time…..
- 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