-
Notifications
You must be signed in to change notification settings - Fork 74
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
How to get rid of AutoLayout warning when using TableKit #89
Comments
Hey @bernikowich First of all, let's make sure that this is not a problem with
Are you sure that you have all required constraints? What about leading/trailing (left/right) constraints? |
@maxsokolov Looks like I found where my issue comes from. I should say I create UI in code. So I implemented such controller in the demo project. In this case if minimum height of cell is more then 44 OS prints warning logs.
|
Screenshot I attached previously is incorrect. I should attach screenshot from |
Looks like it related more to UIKit itself. I don't know why UITableView dequeues cell for indexPath with 44pt height and not estimated height. When you use IB it creates cells with bigger size. |
Hello.
How should I implement constraints to get rid of these warnings. I see it comes when table view requests cells for index path:
I setup cells like subview.top == cell.contentView.top, subview.bottom == cell.contentView.bottom.
The text was updated successfully, but these errors were encountered: