tags:

views:

360

answers:

2

I'm developing with the iPhone 3.1.3 SDK against an iPhone 3GS with the 3.1.3 OS. My app has a tab bar with seven items of which only two contain something meaningful. So for the remaining items, I un-checked the "Enabled" box in the "Tab Bar Item" attributes (first page, "Bar Item" section).

That works fine for the two visible tab bar items that are disabled - can't click on them. The remaining three, however, are still enabled in the "More"-table when clicking on the "More" tab bar item at the very right - I get their (empty) table view. It seems to me that this is a bug - since these items are not enabled, they shouldn't be clickable, even in the "More"-table. This happens both in the emulator in debug mode and on my iPhone in release mode.

So how can I disable the tab bar items in the "More"-table?

+1  A: 
Jeff Kelley
I did submit a bug at Apple.
Karsten Silz
A: 

You should implement protocol "UITabBarControllerDelegate" and set as delegate to the tabBarController. It works very well!

hail