简体   繁体   English

自定义字体未显示在新的故事板上

[英]Custom font are not showing in new storyboard

I have created my new storyboard file and added some fonts in info.plist. 我创建了新的故事板文件,并在info.plist中添加了一些字体。 These fonts are showing in main.storyboard but In my created storyboard, these are not reflected. 这些字体显示在main.storyboard中,但是在我创建的情节提要中,这些字体没有反映出来。 I am using Xcode 9.1. 我正在使用Xcode 9.1。

If everything you done right then just check Target Membership if its check box check marked or not, if not then Checked it mark. 如果您所做的一切正确,则只需选中“目标成员身份”复选框是否已选中,如果未选中,则选中它。

在此处输入图片说明

Thanks 谢谢

The project was developed on another machine. 该项目是在另一台机器上开发的。 So these fonts were not installed on my machine. 因此这些字体未安装在我的计算机上。 I just double click on all fonts and clean the project and Quit the Xcode and open again. 我只需双击所有字体并清理项目,然后退出Xcode并再次打开。 Now it's working fine. 现在一切正常。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM