I am facing a small problem. As we all know, if you have more than 5 tabs, iOS will add a “More” button and display the other bar items in the “More” view with a “Edit” button. Due to some reasons, I’d like to remove this button. I tried the below method, somehow, it doesn’t work.
tabBarController.moreNavigationController.navigationItem.rightBarButtonItem = nil;
Can anyone help me out? Thanks.
tabBarController.navigationItem.rightBarButtonItem = nil;
Hope it will help.