简体   繁体   中英

My tableView can't scroll smoothly

I have a tableView A above a tableView B, A and B have the same hierarchy, A's height is half of B's height. Now the problem is that A can't scroll smoothly, can someone tell me why.

Check your cellForRowAtIndexPath: method. Keep it as light as possible. Ensure you are re-using cells in it and that no calculations are done in cellForRowAtIndexPath: method.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM