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

关于UILabel设置 preferredMaxLayoutWidth #4

Open
zolobdz opened this issue Feb 26, 2018 · 0 comments
Open

关于UILabel设置 preferredMaxLayoutWidth #4

zolobdz opened this issue Feb 26, 2018 · 0 comments

Comments

@zolobdz
Copy link

zolobdz commented Feb 26, 2018

我发现在SMStackCell.m文件中
给UILabel设置preferredMaxLayoutWidth,你特意在layoutSubviews中设置它,而不是在label的get方法中设置。请问具体原因是什么?是因为兼容横竖屏吗

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