首页 > tableViewCell reloadData的时候整个tableView会闪一下,请问如何解决?

tableViewCell reloadData的时候整个tableView会闪一下,请问如何解决?

tableViewCell 高度范围200~800都有,上拉加载更多,reloadData的时候整个tableView会闪一下,请问如何解决
找了一上午,都没能解决
stack overflow有几个链接:
1.http://stackoverflow.com/questions/22007867/why-does-uitableviewcell-flash-on-changing-height
2.http://stackoverflow.com/questions/15196927/reload-uitableview-with-new-data-caused-flickering
3.http://stackoverflow.com/questions/23312197/self-tableview-reloaddata-causes-flickering


reloadData会直接触发重新调用tableView所有的delegate和dataSource方法,另外使用reloadData时需要注意,如果改变了tableView的dataSource实例,需要立即调用reloadData,还有不能在tableView动画中调用reloadData

【热门文章】
【热门文章】