I am currently in need of 8 TabBarItems
, and I can show just 4 items in view. And I need to be able to scroll to the next 4 tabBarItems.
In the default behavior of the UITabBar, you normally get a 'MORE' tabbaritem for more than 5 tab bar items. I want it to be the Scroll Button in place of the MORE button.
So ~ ~If I press the scroll button (or the fifth) tabBarItem, it should display 4 more tab bar items with a back scroll button.
These are my ways of doing this - -
Implementing a Scroll UITabBarItems but this would mean I have to work on the project from scratch, and this is not my best option.
I can push view controller on the final tab and show a new view with 4 tab bar icons, and work on that. (Having trouble with pushing a tab bar controller from a tab bar controller)
I can make present a modal view controller for the next four tabs and pop it when I press back scroll button. (Having trouble with setting up a tabbarcontroller as a present modal view controller)
Removing all views from the tabBarViewController array and adding new ones when the corresponding tab is clicked. And again reloading the same tabs when previous tab is clicked. What are the complications of these ? I do not wish to disturb the rootController.
Anything else you can think of ?
Whatever approach I take, I need sliding animation between the two views.
I would appreciate it if anyone could offer expert advice on what can be done.
Thanks.