只需要在无导航栏界面的viewWillAppear 设置setNavigationBarHidden:animated:的animated参数为YES即可
- (void)viewWillAppear:(BOOL)animated{
[super viewWillAppear:animated];
[self.navigationController setNavigationBarHidden:YES animated:YES];
}
只需要在无导航栏界面的viewWillAppear 设置setNavigationBarHidden:animated:的animated参数为YES即可
- (void)viewWillAppear:(BOOL)animated{
[super viewWillAppear:animated];
[self.navigationController setNavigationBarHidden:YES animated:YES];
}
本文标题:ios从有 导航栏pop回无导航栏viewcontroller的
本文链接:https://www.haomeiwen.com/subject/nrpjdrtx.html
网友评论