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

cell自适应高度 #4

Open
dawnBefore opened this issue Feb 24, 2016 · 1 comment
Open

cell自适应高度 #4

dawnBefore opened this issue Feb 24, 2016 · 1 comment

Comments

@dawnBefore
Copy link

你好,如果是更加复杂的cell怎么自适应高度呢?比如有需要隐藏和显示的控件,是不是也能通过autoLayout自动计算呢

@johnlui
Copy link
Owner

johnlui commented Feb 24, 2016

显示和隐藏可以通过调节需要隐藏的元素的“高度约束”来实现,约束值改变之后,Auto Layout 系统会实时刷新。

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

2 participants