I know this Question has been asked several times before, and I have tried all the steps mentioned but still it does not work for me 🙁
I have font file name “spyv3b.ttf”. I added it to my project, added its name in info.plist file as “spyv3b.ttf”. Also it is copied to Bundle Resource. I installed this font in font book and there it is named as “Spylord Bold”. I checked in my project by:
NSLog(@"%@",[UIFont FontWithName:@"Spylord Bold" size:22]);
it is returning null. Can anyone tell me where can I be mistaken? Thanks a lot in advance for help.
I had a very weird problem – the one i guess no one will ever have…. My every step from start to end was OK.The problem was due to the presence of two app-Info.plist files…! I don’t know when did I added the second one. After deletion of one plist file, when i still didn’t made it, I created new project, added my previous project files to it and repeated all the steps for adding custom fonts.
Now everything is fine 🙂