开发者

iOS Custom Fonts [duplicate]

开发者 https://www.devze.com 2023-03-31 07:33 出处:网络
This question already has answers here: Closed 11 years ago. Possible Duplicate: Can I embed a custom font in an iPhone application?
This question already has answers here: Closed 11 years ago.

Possible Duplicate:

Can I embed a custom font in an iPhone application?

I am creating a label and I need it to use a custom font, or Tahoma. I installed the custom font on my Mac and in IB, when I edit the UILabel and choose that custom font, the text's font changes but as soon as I hit enter or finish changes, the font goes back to its default font.

On the other hand, Tahoma doesn't change at all.

I came cross this artic开发者_如何学Pythonle that shows the default iOS fonts. Tahoma is not listed. Is not possible to install a custom font in my app to use?

If so, how?


Duplicate: Can I embed a custom font in an iPhone application?

Use the UIAppFonts key in the Info.plist file.

0

精彩评论

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