一导航控制器
1隐藏导航栏
//隐藏导航栏
- (void)viewWillAppear:(BOOL)animated { [super viewWillAppear:animated]; [self.navigationController setNavigationBarHidden:YES]; }
@隐藏状态栏
- (BOOL)prefersStatusBarHidden { return YES; }
一导航控制器
1隐藏导航栏
//隐藏导航栏
- (void)viewWillAppear:(BOOL)animated { [super viewWillAppear:animated]; [self.navigationController setNavigationBarHidden:YES]; }
@隐藏状态栏
- (BOOL)prefersStatusBarHidden { return YES; }