PDA

View Full Version : How to display tabs in multiple rows




Dev2009
Feb 3, 2009, 10:24 AM
I have created simple Tab Bar Application, and added 3 tabs using Interface Builder. Now when I try to add 4th tab, it is adding in same row. But I wanted to add it in next row.

I wanted to display 6 tabs in a single view like 3 tabs in first row and 3 tabs in second row.

So my question is,

> Is it possible to do it through Interface Builder? How?
> Or Do I need to use 2 UITabBarController??

I tried to googled it, but didn't get any idea about it. It's really helpful, if anyone can give me hint about it.

Thanks in advance.



SilentPanda
Feb 3, 2009, 10:29 AM
As far as I know the tab view will only display X tabs horizontally. You might be able to make a new view with 2 tab views in it though.

chbeer
Feb 4, 2009, 01:25 AM
It's against Apples Human Interface Guidelines. If you've more tabs as can be displayed there will be a "more..." button. You should adhere to the HIG as they give very good tips for building great UIs. Don't add a second tab-bar!! Maybe you should rethink your GUI design?