Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- iPhone: How to hide tab bar to show fullscreen view
- [self.navigationController setNavigationBarHidden:activated animated:YES];
- CATransition *animation = [CATransition animation];
- [animation setType:kCATransitionFade];
- [[self.view.window layer] addAnimation:animation forKey:@"layerAnimation"];
- [self.tabBarController.tabBar setHidden:YES];
- // Display tab bar animated
- CATransition *animation = [CATransition animation];
- animation setType:kCATransitionFade];
- [[self.view.window layer] addAnimation:animation forKey:@"layerAnimation"];
- [self.tabBarController.tabBar setHidden:NO];
- [[self navigationController] setHidesBottomBarWhenPushed:YES];
- self.hidesBottomBarWhenPushed = YES;
- this will hide the tabbar
- tabBarController.tabBar.hidden = YES
Advertisement
Add Comment
Please, Sign In to add comment