edgesForExtendedLayout:self.view能延伸到屏幕的方向
extendedLayoutIncludesOpaqueBars:延伸的布局是否包括bar,只在不透明的时候有作用
edgesForExtendedLayout = UIRectEdgeNone下,
以navigationBar左下为子视图起点,self.view.bounds.size会减去64高度。
edgesForExtendedLayout = UIRectEdgeAll(默认值)
navigationBar.translucent = NO,// 不透明
extendedLayoutIncludesOpaqueBars = NO时,
会以navigationBar左下为子视图起点,self.view.bounds.size会减去64高度
edgesForExtendedLayout = UIRectEdgeAll(默认值)
navigationBar.translucent = NO,
extendedLayoutIncludesOpaqueBars = YES时,
会以左上为起点,self.view.bounds为全屏。
edgesForExtendedLayout = UIRectEdgeAll(默认值),
navigationBar.translucent = YES,
extendedLayoutIncludesOpaqueBars = YES/NO;
都会以左上为起点,self.view.bounds为全屏
http://www.jianshu.com/p/ec56a55c759c