在viewWillAppear 里写入以下方法可以更改导航条的高度
-(void)viewWillAppear:(BOOL)animated
{
UINavigationBar *navigationBar = [[self navigationController] navigationBar];
CGRect frame = [navigationBar frame];
frame.size.height = 82.0f;
[navigationBar setFrame:frame];
[super viewWillAppear:animated];
}
更改导航条的高度还有其他方法,我们陆续在补齐