开发者

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:

  1. Install a Font in Fonts Folder.
  2. Add Font in iPhone project file. t开发者_开发技巧est.otf.
  3. 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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜