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

豆瓣效果,列表使用tableView,cell高度自适应总是44,老板能整个demo吗,现在不晓得啥问题 #89

Closed
tteabag opened this issue Nov 8, 2021 · 2 comments

Comments

@tteabag
Copy link

tteabag commented Nov 8, 2021

No description provided.

@tteabag
Copy link
Author

tteabag commented Nov 8, 2021

(listScrollView as? UITableView)?.estimatedRowHeight = 0 (listScrollView as? UITableView)?.estimatedSectionHeaderHeight = 0 (listScrollView as? UITableView)?.estimatedSectionFooterHeight = 0
这几行代码,导致cell高度无法自适应,可以注释掉吗

QuintGao added a commit that referenced this issue Nov 8, 2021
@QuintGao
Copy link
Owner

QuintGao commented Nov 8, 2021

最新版已去掉

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