开发者

Install and use new font in iPhone Interface Builder?

开发者 https://www.devze.com 2023-03-21 13:02 出处:网络
I need to install a new font and use it iPhone.I did the following steps: Install a Fontin Fonts Folder.

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

精彩评论

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