Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS 13 上有警告 #43

Closed
zeroskylian opened this issue Sep 23, 2019 · 0 comments · Fixed by #44
Closed

iOS 13 上有警告 #43

zeroskylian opened this issue Sep 23, 2019 · 0 comments · Fixed by #44

Comments

@zeroskylian
Copy link

zeroskylian commented Sep 23, 2019

简单使用

M80AttributedLabel *la = [[M80AttributedLabel alloc]initWithFrame:CGRectMake(0, 0, 300, 80)];
la.font = [UIFont systemFontOfSize:12];
la.text = @"test text";
[self.view addSubview:la];

控制台提示
CoreText performance note: Client called CTFontCreateWithName() using name ".SFUI-Regular" and got font with PostScript name "TimesNewRomanPSMT". For best performance, only use PostScript names when calling this API.

ElfSundae added a commit to ElfSundae/M80AttributedLabel that referenced this issue Sep 24, 2019
xiangwangfeng added a commit that referenced this issue Sep 25, 2019
Fixed #43 CTFontCreateWithName() warning on iOS 13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant