产生的原因是在创建tablecell的时候系统给加了一个默认预估的cell高度,每次reload都用这个高度计算cell,禁用或者设为0就行了
self.tableView.estimatedRowHeight = 0;
self.tableView.estimatedSectionHeaderHeight = 0;
self.tableView.estimatedSectionFooterHeight = 0;
self.tableView.estimatedRowHeight = 0;
self.tableView.estimatedSectionHeaderHeight = 0;
self.tableView.estimatedSectionFooterHeight = 0;