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

若Cell中不同的reuseIdentifier有不同的高度设置的话,SDAutoLayout是计算不出来的 #135

Closed siegrainwong closed 7 years ago

siegrainwong commented 8 years ago

我发现SDAutoLayout算高时的临时cell中传入的是ClassName的reuseIdentifier。 如果我不同的重用标示中有不同的高度(而且这种确实比在setModel中再确认高度要直观很多),这个该怎么实现。