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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T04:10:43+00:00 2026-05-11T04:10:43+00:00

I have a RootViewController and a SubViewController. I traverse the views in either direction.

  • 0

I have a RootViewController and a SubViewController. I traverse the views in either direction. The RootViewController is a UITableView SubClass. Depending upon the row selected I want to change the title of the subview using self.navigationItem.title = [chunks objectAtIndex:1];

It works when the subview is first time loaded. But when I return to the RootViewController and load the subview again the previous title persists. Any ideas what am I missing out on?

  • 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. 2026-05-11T04:10:43+00:00Added an answer on May 11, 2026 at 4:10 am

    I just tried it in an app of mine. When I set the title using

    self.navigationItem.title = @'Foo' 

    the name in the navigation bar changes instantly. I think you have a bug somewhere else that you code is only getting called the first time you invoke your SubViewController. Stick a break point on that line and see if it actually gets called a second time. Or perhaps [chunks objectAtIndex:1] is always returning the same string.

    Or perhaps I’m not understanding your question. As far as I can tell it does work like you are expecting it to.

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

Sidebar

Related Questions

I have a generic UISplitViewController (UITableView in the RootViewController and other stuff in the
I have a spliviewcontroller based ipad application. When the tableviewcell is selected from rootviewcontroller
I have a RootViewController class and a UserSettingsController class. I have defined the UITableView
I have two views RootViewController and DetailViewController , when I am in DetailViewController ,
I have a RootViewController that is a UIViewController with a UITableView. This RootViewController pushes
I have splitview and it contains rootviewcontroller(uitableviewcontroller subclass) and detailview(viewcontroller subclass). Now I have
I have a UIViewController named RootViewController which contains a UITableView and a UITabBar (2
I have made a NavigationController structure. FirstViewController is RootViewController, SecondViewController is a next SubViewController.
I have this RootViewController creation method, i want receive int value but i don't
I have a XIB (RootViewController) that has actions I want to do from a

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.