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

  • SEARCH
  • Home
  • 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 6998143
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T20:22:25+00:00 2026-05-27T20:22:25+00:00

I have 3 tabs and main navigation controller. I implements with code: UIViewController *monitorController

  • 0

I have 3 tabs and main navigation controller. I implements with code:

UIViewController *monitorController   = [[[MonitorController   alloc] initWithNibName:@"MonitorController"   bundle:nil] autorelease];
UIViewController *dashboardController = [[[DashboardController alloc] initWithNibName:@"DashboardController" bundle:nil] autorelease];
UIViewController *settingsController  = [[[SettingsController  alloc] initWithNibName:@"SettingsController"  bundle:nil] autorelease];

self.tabBarController = [[[UITabBarController alloc] init] autorelease];
self.tabBarController.viewControllers = [NSArray arrayWithObjects:monitorController, dashboardController, settingsController, nil];

self.navigationController = [[[UINavigationController alloc] initWithRootViewController:self.tabBarController] autorelease];

self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]];
self.window.rootViewController = self.navigationController;
[self.window makeKeyAndVisible];

I want to change navigation title when I select another tap, but no variant (see below) not working (there are no any title at navigation controller):

    self.title = DASHBOARD_TITLE; 

    self.navigationController.title = DASHBOARD_TITLE; 

How I can resolve this problem?

  • 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-05-27T20:22:26+00:00Added an answer on May 27, 2026 at 8:22 pm

    The UINavigationController will display the title of the UIViewController it’s currently displaying, that is why you are not able to set it directly.
    You may try to change the title on your UITabBarController, but I’m not sure the navigation controller will update it’s title after it first appeared on screen.

    But, Do you really need that Architecture?
    Usually the UITabBarController is the root viewController and if you need UINavigationControllers they are place inside the Tab that need to have navigation capability.
    It was design to be use that way.

    Unlike other view controllers, a tab bar interface should never be installed as a child of another view controller.

    Quoted from UITabBarController Class Reference

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have five tabs in my main window, but I haven't created it programmatically.
I have made a GUI where there are 4 main tabs, the 4 tabs
I have a page with main tabs which behaves as follows; 1. On hover
I have a set of tab (main-tabs) on a website and each tab has
I have a main window which has the UITabViewController as its root controller. I
I have a simple web page that has 3 tabs in my main content
I am developing a media-player application. In the main activity, I have three tabs.
I have three tabs. When I press the tab button on the bottom, is
I have some tabs using jQuery UI which work just fine, but I want
I have 4 tabs in my iphone application. When user will click a button

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.