UIFont with custom font fails with Nil

后端 未结 7 1886
孤街浪徒
孤街浪徒 2020-12-31 10:59

I\'m trying to add a custom font to my project in Xcode 4.2, but whenever I try to use it, I get a error that the object is nil.

I have done the following:
1) Ad

7条回答
  •  傲寒
    傲寒 (楼主)
    2020-12-31 11:27

    Be sure to include the font's file extension as part of the name in plist "Fonts provided by application".

提交回复
热议问题