iOS Custom Fonts [duplicate]

筅森魡賤 提交于 2019-12-12 10:55:57

问题


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 article 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?


回答1:


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

Use the UIAppFonts key in the Info.plist file.



来源:https://stackoverflow.com/questions/7233056/ios-custom-fonts

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!