打印台出打印信息:
CoreText note: Client requested name ".SFUI-Regular", it will get TimesNewRomanPSMT rather than the intended font. All system UI font access should be through proper APIs such as CTFontCreateUIFontForLanguage() or +[UIFont systemFontOfSize:].
CoreText note: Set a breakpoint on CTFontLogSystemFontNameRequest to debug.
问题的解决方法:
添加符号断点.png
CTFontLogSystemFontNameRequest符号断点.png
添加号符号断点看哪个地方使用了".SFUI-Regular"
,改掉就好了。