阅读背景:

在Interface Builder中使用自定义字体设计标签/文本视图

来源:互联网 

I am currently working on an iPhone project in which all labels/text views etc. should appear with a custom font (I'm using Xcode 4.2.1). I have done some research on this, and the only solution seems to be adding the font files to the project, editing the info.plist file appropriately and setting the font programmatically (i.e. by outlets or by subclassing the relevant views). In any case, these approaches won't lead to the interface builder displaying the text with the custom font (it will still show Helvetica). It is not possible to select the custom font using the attributes inspector.I am currently working on an iPhone project in




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: