Custom fonts in iPhone

  1. Copy your font file into resources
  2. Add a key to your Info.plist file called UIAppFonts. ("Fonts provided by application)
  3. Make this key an array
  4. For each font you have, enter the full name of your font file (including the extension) as items to the UIAppFonts array

  5. Save Info.plist
  6. Now in your application you can simply call [UIFont fontWithName:@"CustomFontName" size:15] to get the custom font to use with your UILabels and UITextViews, etc…


Popular posts from this blog

Reverting all Xcode settings to default settings

Scroll UITextField above Keyboard in a UITableView OR UIScrollView in Swift and Objective C