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 8683123
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T21:57:31+00:00 2026-06-12T21:57:31+00:00

I have an app delegate, which is also UINavigationControllerDelegate (and I’ve tried setting it

  • 0

I have an app delegate, which is also UINavigationControllerDelegate (and I’ve tried setting it as UITabBarControllerDelegate and UITabBarDelegate before asking, if that would trigger something to work, but…).

In mainwindow.xib, I have a tab bar with 6 items, which become split up into 4 + a more tab, which goes to the standard view with the two remaining tabs (in a list).

This tab bar has a controller which is the root controller over the nav controller, and called rootCt.

Now, the problem is that selected the tabs in the More nav ctlr makes the selected viewcontroller’s title nil, showing “Item” instead of the tab title.

I would like to get the title as set in IB, as I’ve made localized nibs. Ie., simply the title that you click on in the More view.

I’ve tried:

UITabBarItem *item=[[appd rootCt].tabBar.items objectAtIndex:4];
NSString *str=[item title];
self.title=str;

But this gives nil. Changing index to 3 gives the 3rd title correctly, and 5 results in a crash.

Tried:

NSString *str=[appd rootCt].selectedViewController.title;

This also gives nil, because it’s not set yet – that’s what I need to set in this code.

I can’t use selectedViewController.title, as that’s nil and that’s what I’m trying to set. Right?

How do I get the selected tab title coming from the More view? Should it be this hard?? Or have I missed something obvious…

  • 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-12T21:57:32+00:00Added an answer on June 12, 2026 at 9:57 pm

    It must have been a lost outlet reference or similar. Deleting the .xib and redoing the work solved it.

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

Sidebar

Related Questions

I have this method in App Delegate that makes a window and content view
I have a method in my app delegate that updates the badge count for
I have a variable set for my AppDelegate which stores the current URL that
On my app delegate class I have a simple property @property (strong, nonatomic) LoginAppDelegate
I have an array of users in my app delegate, and in one of
I'm writing a Cocoa application where I have an auto generated app delegate:(MyAppDelegate.h/MyAppDelegate.m) So
I have created an app which starts with a login page, after entering some
Greetings! I have a working iPhone app (huzzah!) that uses a MainView.xib containing a
I have created an app that simply shows the user's current position on a
I have an app which uses a table view to display a list of

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.