0
votes

Total noob question, I've searched all the posts but can't understand how to do this. Created an app using the 'Tabbed Application' template with 3 view controllers, but I am not using a navigation controller. trying to hide the tabbar on the first screen when a button is pushed. All the solutions I have seen use hidesBottomBarWhenPushed = YES, but this apparentley only works when the view is used in conjunction with a navigation Controller? Is there some way of accomplishing this only from a view controller in a tabbed application?

Thanks

1

1 Answers

1
votes

You can hide tabBar using this code

self.tabBarController.tabBar.hidden =YES;