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

多个view对象添加约束 #152

Open liaohengjie opened 7 years ago

liaohengjie commented 7 years ago

请教一个问题:我在viewController去创建一个继承于view的对象,添加在controller了可以正常显示,然而在这个view对象里面还嵌套了一个view,那么最后一个view约束后是不会显示出来的?到底最后一个view要怎么约束才能正确显示出来