隐藏navigationBar后header多出来20的高度,应该是statusBar的高度 在vc中加上 self.automaticallyAdjustsScrollViewInsets = NO 可解决