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

UITableViewCell使用自动高度,cell创建双份的问题。 #337

Open
CaiChenghan opened this issue Nov 9, 2020 · 0 comments
Open

Comments

@CaiChenghan
Copy link

CaiChenghan commented Nov 9, 2020

UITableViewCell在使用自动高度的时候,cell会创建双份。一份页面可见,一份不可见。不可见的那份,会执行可见那部分相同的操作。例如cell数据刷新,不可见的那部分,也会跟着刷新。在不使用自动高度的时候,就没有这个问题。通过打log,就会很容易看到这个问题。个人觉得,这是一个问题。虽然展示没问题,但终究对程序有性能上的影响。

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