iphone - Disabling edit button in "more" view of tab bar controller does not work in iOS4 -


In my old app, I can rearrange ideas in the tab bar controller:

tabBarController CustomizableViewControllers = [NSArray arrayWithObjects: zero];

But on iOS4, the editing button is still displayed, though it does not display any items. Is not it possible to hide the editing button completely?

Add jobs to the app delegate.m file below; Navigation Controller ShowShopeController: (UIViewController *) Visual Controller Animated: (BOOL)

Animated {UINavigationBar * morenavbar = Navigation Controller. navigation bar; UINavigationItem * morenavitem = morenavbar.topItem; / * In more screens we do not need the editing button. * / Morenavitem.rightBarButtonItem = Zero; }

Comments