本文介绍了iOS自定义字体的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在创建标签,需要使用自定义字体或Tahoma。我在Mac和IB中安装了自定义字体,当我编辑UILabel并选择该自定义字体时,文本的字体会更改,但是当我按下Enter键或完成更改后,该字体就会恢复为默认字体。
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.
另一方面,Tahoma根本没有改变。
On the other hand, Tahoma doesn't change at all.
我遇到了这个,其中显示了默认的iOS字体。未列出Tahoma。
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?
如果可以,如何安装?
推荐答案
重复:
使用 Info.plist 文件。
这篇关于iOS自定义字体的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!