更新时间:2022-06-15 22:21:49
要隐藏标签栏,您可以使用 hidesBottomBarWhenPushed 。例如:
To hide the tab bar you can use hidesBottomBarWhenPushed. For instance:
MyController *myController = [[MyController alloc]init];
myController.hidesBottomBarWhenPushed = YES;
[self.navigationController pushViewController:myController animated:YES];
[myController release];
要隐藏您可以使用的状态栏:
To hide the status bar you can use:
[[UIApplication sharedApplication] setStatusBarHidden:YES];
要隐藏您可以使用的导航栏:
To hide the nav bar you can use:
self.navigationController.navigationBarHidden = YES;