How can we use custom font in an iOS app?
fonts, ios, iphone
Solution
Try the steps below:
1. Make configuration in the info.plist as shown in Image
2. Now you should use that added file
UIFont *customFont = [UIFont fontWithName:@"fontName" size:size];
// further you may set That Font to any Label etc.
EDIT: Make Sure you have added that file in your resources Bundle.
Problem
Possible Duplicate: Can I embed a custom font in an iPhone application? How can I customize font in my iPhone app? Is it possible? How can I use this custom font in a `UILabel`? I am trying to add `MYRIADPRO-SEMIBOLD.OTF` font in my App. and the code is ``` UIFont *customFont = [UIFont fontWithName:@"MYRIADPRO-SEMIBOLD" size:35]; titleLbl.font = customFont; ``` And the Plist is