iOS 11 Xcode9 tableview点击cell上的按钮cell自动往上跳动

列表需求是点击cell时展开数据,布局及cell高度更改。
iOS 11 上出现了向上跳动问题,屡次尝试之后无果,查询后找到解决办法:
    self.tableView.estimatedRowHeight = 0;
    self.tableView.estimatedSectionHeaderHeight = 0;
    self.tableView.estimatedSectionFooterHeight = 0;

特别鸣谢:老海明威老师
http://www.cocoachina.com/bbs/read.php?tid=1727023

原文地址:https://www.cnblogs.com/tian-heng-dev/p/9141104.html