Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8332335
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T02:41:34+00:00 2026-06-09T02:41:34+00:00

I’m surprised that not more has been asked about this :-) My app is

  • 0

I’m surprised that not “more” has been asked about this 🙂

My app is a standard tab bar controller with multiple sections. Each section (tab) contains a navigation controller that controls a couple of view controllers (your basic tableview + detailview type of setup). Now that I’ve added a 6th tab, iOS creates the default “More” tab that controls the final two tabs. I need to eliminate the “More” text in the middle of the navigation bar (Note: Not the button text, nor the title of the tab itself), and apply a custom background image to the navigation bar.

Note: This question is about customizing the “More” navigation bar – I’ve successfully modified the background image and titleView text on all of the non-iOS created navigation bars.

In my app delegate, the app is put together thusly:

Create View Controllers:

ViewController1 *vc1 = [ViewController1 alloc] initWithNibName@"View1" bundle:nil];
vc1.title = @"VC1";
vc1.tabBarImage.image = [UIImage imageNamed:@"image1.png"];

Repeat the above routine 5 more times for view controllers vc2 through vc6.

Create the individual navigation controllers:

UINavigationController *nc1 = [UINavigationController alloc] initWithRootViewController:vc1];

Repeat 5 more times for nav controllers nc2 – nc6.

Add Nav Controllers to Tab Bar Controller

self.tabBarController.viewControllers = [NSArray arrayWithObjects: vc1, vc2, vc3, vc4, vc5, vc6, nil];

All of the code above works perfectly. No issues.

I then add a custom background image to the More navigation controller thusly:

    if (self.tabBarController.moreNavigationController){
        if ([self.tabBarController.moreNavigationController.navigationBar respondsToSelector:@selector(setBackgroundImage:forBarMetrics:)] ) {
            UIImage *image = [UIImage imageNamed:@"navlogo.png"];
            [self.tabBarController.moreNavigationController.navigationBar setBackgroundImage:image forBarMetrics:UIBarMetricsDefault];
        } else {
            UINavigationBar *navbar = self.tabBarController.moreNavigationController.navigationBar;
            UIImage *headerImg = [UIImage imageNamed:@"navlogo.png"];
            [navbar setBackgroundImage:headerImg forBarMetrics:UIBarMetricsDefault];
        }       
    }

This too works just fine. No issues

Since my custom background contains the client’s logo dead center, I need to remove the text of the titleView that by default reads “More”. Note, I’m not talking about the text of the Navigation BUTTON, but the label in the middle of the navigation bar.

Logically, one would assume that this would work:

    UILabel *label = [[UILabel alloc] init];
    label.text = @"";
    self.tabBarController.moreNavigationController.navigationItem.titleView = label;

…because I do this in all of individual view controllers, substituting self.navigationItem.titleView for self.tabBarController.moreNavigationController, etc.

But this doesn’t work! I can successfully change both the background image and the titleView text on all of my navigation controllers with this exact same code (again, substituting self.navigationController.navigationItem for the moreNavController stuff…). However, in the app delegate, I can only set the background image, but not the titleView of the More nav controller.

Any solutions would be greatly appreciated.

VB

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T02:41:35+00:00Added an answer on June 9, 2026 at 2:41 am

    Turns out, my original code was correct, just in the wrong place.

    UILabel *label = [[UILabel alloc] init];
    label.text = @"";
    self.tabBarController.moreNavigationController.navigationBar.topItem.titleView = label;
    

    However, I was previously executing this before I added the tabBarController as my rootViewController

    The correct order is:

    self.window.rootViewController = self.tabBarController;
    
    UILabel *label = [[UILabel alloc] init];
    label.text = @"";
    self.tabBarController.moreNavigationController.navigationBar.topItem.titleView = label;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I've got a string that has curly quotes in it. I'd like to replace
In my XML file chapters tag has more chapter tag.i need to display chapters
I need a function that will clean a strings' special characters. I do NOT
I know there's a lot of other questions out there that deal with this
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I want to count how many characters a certain string has in PHP, but
For some reason, after submitting a string like this Jack’s Spindle from a text

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.