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

Why doesn't this support iOS6 when PureLayout says it supports iOS6 ? #9

Closed
Clouds123 opened this issue Sep 22, 2014 · 3 comments
Closed

Comments

@Clouds123
Copy link

What's stopping this from supporting iOS6 ?

@smileyborg
Copy link
Owner

Hi Richard,

This approach depends on the row height estimation facility (tableView.estimatedRowHeight) added to UITableView only in iOS 7.0. Without using row height estimation, auto layout cannot be used in table views larger than roughly a 15-20 cells without disastrous performance impact, as the row height for all rows will need to be calculated at first load.

Does that make sense?

@Clouds123
Copy link
Author

Thanks for the quick reply.

Yes. While searching for possible solutions to the problem, I came across the following blog post which has some good info on the subject:

http://johnszumski.com/blog/auto-layout-for-table-view-cells-with-dynamic-heights

@smileyborg
Copy link
Owner

Yes, that blog post covers the same material originally posted here on StackOverflow.

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