如何将新字体添加到Xcode 3.2? [英] how to add new font to Xcode 3.2?

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

问题描述

请告诉我如何将新字体添加到iphone xcode3.2。

please tell me how to add new font to iphone xcode3.2.

推荐答案

此功能未内置于UILabel iOS中的/ UIFont< 3.2。但是您可以使用第三方解决方案: FontLabel

This functionality isn't built into UILabel/UIFont in iOS < 3.2. But there is a third-party solution you can use: FontLabel

在的iOS 3.2+,有在 UIAppFonts plist键

In iOS 3.2+, there's the UIAppFonts plist key!

使用前请执行此操作:添加字体文件(例如 myfont.ttf )到项目中,然后编辑的Info.plist像这样:

Just do this before using it: add your font file (such as myfont.ttf) to your project, then edit the Info.plist like so:

info.plist http://cl.ly/97da7a4f67b1b81a540f/content

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

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