iPad: How Do I Limit the Number of Tabs in UITabBarController?

Posted by Chris_K on Stack Overflow See other posts from Stack Overflow or by Chris_K
Published on 2010-05-27T19:25:55Z Indexed on 2010/06/11 21:22 UTC
Read the original article Hit count: 278

Filed under:
|

I'm converting an iPhone app to a universal app, which leaves me with a UITabBarController as the root view controller for a UISplitViewController. That is, the tab bar appears at the bottom of the left-hand view when the iPad is in landscape mode.

On the iPhone, the system automatically limited the number of tabs shown in the tab bar to 5. But on the iPad simulator (which is all I have at the moment), my tab bar has 8 tabs, including the More tab. What gives?

Thanks.

Update: Since I had no luck finding an answer to this question, I gave up on using a tab bar interface in my iPad-flavored app. Instead, I added one more level to the navigation controller drill-down. That ends up working fine for this app.

© Stack Overflow or respective owner

Related posts about ipad

Related posts about uitabbarcontroller