据我了解,所有标准控件默认情况下都使用系统字体。

另外,API [UIFont systemFontOfSize:]也使用系统字体。

有没有一种方法可以为整个应用程序重新定义它,而不是为表格,标签等设置字体?

最佳答案

答案是否定的,您不能更改apple的systemFont,需要自己在控件上设置字体。

有关为整个iOS应用设置默认字体的最佳方法,请检查以下SO问题:

Set a default font for whole iOS app?

How to set a custom font for entire iOS app without specifying size

How do I set a custom font for the whole application?

Is there a simple way to set a default font for the whole app?

10-07 19:13
查看更多