美文网首页
CoreText note: Client requested

CoreText note: Client requested

作者: Sweet丶 | 来源:发表于2021-03-06 11:45 被阅读0次

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

相关文章

网友评论

      本文标题:CoreText note: Client requested

      本文链接:https://www.haomeiwen.com/subject/jrvjqltx.html