reloadData后tableView偏移量發(fā)生變化是因?yàn)轭A(yù)估高度引起,解決辦法:
self.tableView.estimatedRowHeight = 0;
self.tableView.estimatedSectionFooterHeight = 0;
self.tableView.estimatedSectionHeaderHeight = 0;
reloadData后tableView偏移量發(fā)生變化是因?yàn)轭A(yù)估高度引起,解決辦法:
self.tableView.estimatedRowHeight = 0;
self.tableView.estimatedSectionFooterHeight = 0;
self.tableView.estimatedSectionHeaderHeight = 0;