iOS - Add Custom Fonts
- Copy your font to your xcode project
- In xcode, open
Info.plist
- Add new key named
UIAppFonts
- Insert your copied font name to key items (with extension. e.g
Action Man.ttf
) - Your font is ready to use. try example
[UIFont fontWithName:@"Action Man" size:12]
Written by Noval Agung Prayogo
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Objective-c
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#