I am developing an iPad
application.
My application is a UITabBar
based application with 5 tabs.
Now my requirement is to show a view controller outside these 5 tabs.
Explanation:
For example I have 5 tabs, A, B, C, D, E. A is selected by default.
Now I have to show a new view controller say, F. But when I show that view none of the tabbar item should be selected.
What I have tried:
I created a UINavigationController
as 6th tab. Now its not visible at the bottom and it nearly produces the effect I needed but have following two problems.
- Tab bar items are not center aligned (Due to one hidden tab at right)
- User can tab that hidden tab
Update:
Actually I am following an already developed application and I am sure its possible. Scenario is I have 5 tabs that user can access without login. On navigation bar I have login button. When user is logged in I have a menu button in my navigation bar. Now tapping menu will show a view that doesn't belongs any of the tabs below. And that's why I need implementation explained above.