Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- self.tabBar.hidden = YES;
- self.view.backgroundColor = [UIColor blueColor];
- #pragma mark - Overriden UIViewController methods
- - (BOOL)hidesBottomBarWhenPushed {
- return YES;
- }
- override var hidesBottomBarWhenPushed: Bool {
- get { return true }
- set { super.hidesBottomBarWhenPushed = newValue }
- }
- class FooTabBar: UITabBarController {
- override func viewDidLayoutSubviews() {
- super.viewDidLayoutSubviews()
- self.tabBar.isHidden = true
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement