I\'m trying to use custom font for my iOS app. Here is what I do
I added my custom font (m.tff) to Xcode Supporting files directory. Also I create entry called Fonts
In your Info.plist file, add the key: Fonts provided by application
with an array object, and set the items of the array to strings as follows:
MyFont.ttf
Where MyFont
is the EXACT name as listed for the font in your Mac's app, "Font Book." Use Spotlight to launch font book and then find your font file in there to double check the name.
Then when you set the font to your label:
myLabel.font = [UIFont fontWithName: @"MyFont" size: someFloatValue];