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

关于视图顶部及底部的适配问题 #58

Closed Cmefly closed 8 years ago

Cmefly commented 8 years ago

masonry 里边有mas_topLayoutGuide; mas_bottomLayoutGuide; mas_topLayoutGuideTop; mas_topLayoutGuideBottom; mas_bottomLayoutGuideTop; mas_bottomLayoutGuideBottom;

SDAutolayout中怎么去实现这个呢?

gsdios commented 8 years ago

具体要实现什么样的功能呢?

Cmefly commented 8 years ago

在导航或分栏控制器中translucent属性的默认值为YES,并且当前的ViewController的高度会是整个屏幕的高度,不更改translucent属性的同时确保视图不被这些Bar覆盖