I’m working on an app that needs many TabBar Items (6 or 7). I don’t think users like to click the “More” button on TabBars, so I’m wondering how to make my own TabBar that slides from left to right, so one can easily access all the buttons on the tabbar without pressing “More.”
Thanks!
I agree with the other answer that it’s a bad idea from a design standpoint.
Nevertheless, the technical answer is that you can simply embed a
UITabBarin aUIScrollView. If you set the tab bar’s width and the scroll view’scontentSizeappropriately, the tab bar will be scrollable. You will probably want to turn off bouncing and scroll indicators.I didn’t try it with a
UITarBarController.