自定义字体不在某些模拟器上显示 [英] custom font not displaying on some simulator
本文介绍了自定义字体不在某些模拟器上显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已尝试从xcode项目中删除字体并通过拖动再次复制,但仍然是名为Helvetica-Neue-LT-Com-75-Bold-Outline.ttf的自定义字体无法在iphone 4上运行和5c模拟器,但在5s模拟器中工作。
I have tried deleted font from the xcode project and and copied again by dragging, but still custom font named "Helvetica-Neue-LT-Com-75-Bold-Outline.ttf" is not working on iphone 4 and 5c simulator but working in 5s simulator.
要将字体名称设置为UILabel,我使用fontbook app中的名称。
To set the font name to UILabel, I am using the name from fontbook app.
推荐答案
1)从模拟器中删除应用程序
2)clean(通过在Xcode中点击CMD + K)
3)再次运行
1) Delete application from simulator
2) clean (by hitting "CMD + K" in Xcode)
3) Run again
这篇关于自定义字体不在某些模拟器上显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文