列表需求是點擊cell時展開數據,佈局及cell高度更改。 iOS 11 上出現了向上跳動問題,多次嘗試以後無果,查詢後找到解決辦法: self.tableView.estimatedRowHeight = 0; self.tableView.estimatedSectionHeaderHeight = 0; self.tableView.estimatedSectionFooterHeight = 0;
特別鳴謝:老海明威老師
http://www.cocoachina.com/bbs/read.php?tid=1727023php