1. To hide the status bar:
[[UIApplication shareApplication] setStatusBarHidden:YES];
2. To hide the navigation bar:
self.navigationController.navigationBarHidden = YES;
3. To hide the tab bar:
MyController *myController = [[MyController alloc] init ];
myController.hidesBottomBarWhenPushed = YES;
[self.navigationController pushViewController:myController animated:YES];
[myController release];
[[UIApplication shareApplication] setStatusBarHidden:YES];
2. To hide the navigation bar:
self.navigationController.navigationBarHidden = YES;
3. To hide the tab bar:
MyController *myController = [[MyController alloc] init ];
myController.hidesBottomBarWhenPushed = YES;
[self.navigationController pushViewController:myController animated:YES];
[myController release];
No comments:
Post a Comment