Install and use new font in iPhone Interface Builder?
I need to install a new font and use it iPhone.I did the following steps:
- Install a Font in Fonts Folder.
- Add Font in iPhone project file. t开发者_开发技巧est.otf.
Added font name "Fonts provided by application" in Plist file.
I check this font TextEdit. It is working fine, it is not affect in Interface Builder.
If i double click the Label to edit text, font is assigned and displaying with font but it is not displaying in normal mode.
It will not displayed in interface builder. You need to assign that font by code. Something like below.
[UIFont fontWithName:@"Your Font Name" size:20];
Hope this help.
精彩评论