字体未正确设置

时间:2014-03-14 05:10:19

标签: ios

此代码是否有任何错误导致字体无法正确更新?

NSDictionary *attributes = @{ NSForegroundColorAttributeName : [UIColor whiteColor], NSFontAttributeName : [UIFont preferredFontForTextStyle: @"Courier"]}; [[UINavigationBar appearance] setTitleTextAttributes:attributes];

当我运行应用程序时,字体似乎是一些系统字体。 (不是Helvetica neue,但也不是Courier。)

0 个答案:

没有答案
相关问题