My tab bar currently has more than 5 items, so it is showing up as “More *“, which is fine. However, when the user is in more, they have the ability to click edit, and rearrange what’s in the tab bar. How do I disable this for the user?
I finally figured it out, but since i am a new user they won’t let me answer my own question lol, so here is the answer.
I figured it out, so I created my own UITabBarController files and in the .m file I added:
self.customizableViewControllers = [NSArray arrayWithObjects:nil];
into the viewDidLoad method, like so:
#import "MyTabBarController.h"
@interface MyTabBarController ()
@end
@implementation MyTabBarController
- (void)viewDidLoad
{
[super viewDidLoad];
self.customizableViewControllers = [NSArray arrayWithObjects:nil];
}
Add this to view did load.