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

请问一下 如何避免ios8下跳动的bug问题? #172

Open abellee opened 7 years ago

abellee commented 7 years ago

ios8下,当push一个UIViewController后,再返回的话,原来的tableView会有一段很明显往上移动了。 试了一下demo里貌似不会有这个问题 是通过什么可以设置吗?

PanDaDemo commented 6 years ago

楼主怎么解决的

JiekangLiao commented 6 years ago

你是不是在初始化tableview之后设置了rowHeight? self.tableView.estimatedRowHeight;不妨试试这个?