iOS 7以后在ViewController里面引进了一系列属性用于管理页面布局。
extendedLayout有几个相似的参数:
edgesForExtendedLayout
automaticallyAdjustsScrollViewInsets
extendedLayoutIncludesOpaqueBars
下面是Apple官方提供的文档解释,看过之后还是觉得太过于抽象,于是用代码来实验吧。
**edgesForExtendedLayout
**
The extended edges to use for the layout.
**automaticallyAdjustsScrollViewInsets
**
A Boolean value that indicates whether the view controller should automatically adjust its scroll view insets.
**