定义tableView的时候加入下面三行代码,亲测有效!
_tableView.estimatedRowHeight = 0;
_tableView.estimatedSectionHeaderHeight = 0;
_tableView.estimatedSectionFooterHeight = 0;
定义tableView的时候加入下面三行代码,亲测有效!
_tableView.estimatedRowHeight = 0;
_tableView.estimatedSectionHeaderHeight = 0;
_tableView.estimatedSectionFooterHeight = 0;
本文标题:iOS 11 点击tableView自定义单元格按钮自动往上跳
本文链接:https://www.haomeiwen.com/subject/pbwpyttx.html
网友评论