iOS 11 点击tableView自定义单元格按钮自动往上跳
2017-12-27 本文已影响0人
coinue
定义tableView的时候加入下面三行代码,亲测有效!
_tableView.estimatedRowHeight = 0;
_tableView.estimatedSectionHeaderHeight = 0;
_tableView.estimatedSectionFooterHeight = 0;
定义tableView的时候加入下面三行代码,亲测有效!
_tableView.estimatedRowHeight = 0;
_tableView.estimatedSectionHeaderHeight = 0;
_tableView.estimatedSectionFooterHeight = 0;