Explaining difference between automaticallyAdjustsScrollViewInsets, extendedLayoutIncludesOpaqueBars.
automaticallyAdjustsScrollViewInsets:在导航栏透明时用到InyourviewDidLoadmethod,addif([selfrespondsToSelector:@selector(edgesForExtendedLayout)])self.edgesForExtendedLayout=UIRectEdgeNone;whichwillforceyourview