首先找到这个连接 http://blog.csdn.net/volcan1987/article/details/7639304
内容如下:
文档:Applications that want to use custom fonts can now include those fonts in their application bundle and register those fonts with the system by including the UIAppFonts
key in their Info.plist
file. The value of this key is an array of strings identifying the font files in the application’s bundle. When the system sees the key, it loads the specified fonts and makes them available to the application.
只需要在info.plist中添加UIAppFonts即可,然后在array中添加字体名即可,可添加多个字体。这项特性是3.2添加到sdk中的,3.2以前的版本无法使用。注意:ios5之前好像不支持otf格式的字体,所以最好用ttf格式的字体
按照这个方法就可以轻松添加新的字体。
然后我使用 软件FontCreator 编辑了现有的字体,按照上面的步骤,就可以使用“自己”的字体。