We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
有大佬知道如何处理吗?
The text was updated successfully, but these errors were encountered:
最后放弃使用numberOfLines=0;来适配高度,使用 YYTextContainer *container = [YYTextContainer containerWithSize:CGSizeMake(self.detailLab.width, CGFLOAT_MAX)]; YYTextLayout *layout = [YYTextLayout layoutWithContainer:container text:self.detailLab.attributedText]; numberOfLines = layout.rowCount; 计算出实际的行数进行赋值
Sorry, something went wrong.
No branches or pull requests
使用的是masonry布局
有大佬知道如何处理吗?
The text was updated successfully, but these errors were encountered: