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中的其他控件是通过xib的自动布局设置布局的,可以混合使用sdautolayout么 #104

Closed DanielYQ closed 8 years ago

DanielYQ commented 8 years ago

如题,我的cell是用xib拖拽出来的,但其中一个lable需要自适应高度,可以这个label使用sdautolayout代码布局,其他控件使用xib的自动布局吗? 非常感谢!

gsdios commented 8 years ago

如果你用了其他布局方式的控件 不参照这个label布置过约束就没有问题的