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:].
全局搜索 CTFontCreateWithName
1 | NSString *name =[label.font fontName]; |
搞定