Currently, five UIViewControllers are switched via a UITabBarController. How can I hide the TabBar and provide a full-screen for one of the UIViewControllers?
For example:
- The middle tab is clicked
- The UITabBarController TabBar is hidden
- The UIViewController takes full screen (hides status bar also)
- When one button in the middle is clicked, switch to the first tab (status bar resumes, UITabBarController TabBar resumes)
You can put the view controller in a navigation controller and set the view controller’s
hidesBottomBarWhenPushedproperty toYES. Hiding the status bar can be done usingstatusBarHiddenproperty of the shared application object.