0

I saw the answer here: How to disable the edit button that appears in the more section of a UITabBarController? but I cant figure out where to put the code.

Right now I have a universal app, with multiple view controllers, where does the code go? Also the solutions said "Become a delegate of moreViewController", how do I do this?

Community
  • 1
  • 1
Peter
  • 1
  • 3

1 Answers1

2

Add a line of code in life cycle method i.e. app did finish launching with options:

- (void)applicationDidFinishLaunching:(UIApplication *)application
{ 
    tabBarController.customizableViewControllers=nil;

}
Eshwar Chaitanya
  • 697
  • 10
  • 21