Client-requested-name-SFUI-Regular

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
2
3
4
NSString *name =[label.font fontName];
if ([name isEqualToString:@".SFUI-Regular"]) {
name = @"TimesNewRomanPSMT";
}

搞定