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

[针对行定位失真]对未设置font的富文本 在返回富文本size方法中赋值font也可 #44

Open
yollet opened this issue Mar 10, 2022 · 0 comments

Comments

@yollet
Copy link

yollet commented Mar 10, 2022

在- (CGSize)yb_textSizeWithAttributedString:(NSAttributedString *)attributedString width:(float)width numberOfLines:(NSInteger)numberOfLines
中添加
sizeLabel.font = self.font;
因为项目需求基本也只是在高亮区设置font 这样写省事

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

No branches or pull requests

1 participant