gsdios / SDAutoLayout

One line of code to implement automatic layout. 一行代码搞定自动布局!支持Cell和Tableview高度自适应,Label和ScrollView内容自适应,致力于做最简单易用的AutoLayout库。The most easy way for autoLayout. Based on runtime.
MIT License
5.9k stars 1.28k forks source link

删除section 后面的section高度就计算不正确了 #203

Closed gaoyz closed 7 years ago

gaoyz commented 7 years ago

删除Cell没问题,就是删除section时就出问题了,每个section里就一个Cell,Cell的高度都是动态变化的,您方便的时候可以试下看?

gsdios commented 7 years ago

sd尚未添加删除section时的高度缓存自动清理功能,你可以先自己调用缓存清理方法[yourTableView.cellAutoHeightManager clearHeightCache]