CoreText note: Client requested

2021-03-06  本文已影响0人  Sweet丶

打印台出打印信息:
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",改掉就好了。

上一篇下一篇

猜你喜欢

热点阅读