如何将旧金山字体转换为Xcode? [英] How to get San Francisco font into Xcode?

查看:119
本文介绍了如何将旧金山字体转换为Xcode?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只是下载并安装了SF字体。我在Sketch和Font Book中看到它们但不是Xcode(Interface Builder)。我重新启动了Xcode,但SF或旧金山字体仍然没有显示在文本工具中。



有没有人知道是否需要一些特殊的东西让他们工作Xcode?

OS X 10.11.1

Xcode 7.1.1

解决方案

您所要做的就是将您的(.ttf)文件添加到资源中。你可以拖放它,然后会出现一个对话框,检查你的应用程序的复选框后你应该设置。然后将字体添加到Targets >> Build Phase >> Copy Bundle Resources,就是这样。


I just download and installed the SF fonts. I see them in Sketch and the Font Book but not Xcode (Interface Builder). I've restarted Xcode but the SF or San Francisco fonts still do not show up in the text tool.

Does anyone know if something special is required to get them working in Xcode?

OS X 10.11.1
Xcode 7.1.1

解决方案

All you have to do is to add your (.ttf) file to resources. You can drag and drop it and then a dialogue box will appear after that check the checkbox for your application and you should be set. Then add the font to Targets >> Build Phase >> Copy Bundle Resources and thats it.

这篇关于如何将旧金山字体转换为Xcode?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆