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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T02:46:58+00:00 2026-05-28T02:46:58+00:00

My UIViewController calls a function on my rootViewController which then called popToRootViewControllerAnimated to return

  • 0

My UIViewController calls a function on my rootViewController which then called popToRootViewControllerAnimated to return the view to the rootController. This all works – great!

Unfortunately the UINavigationItem (toolbar at the top) seems to display a mashup of both the rootViewController and the UIViewController that has just been removed.

What do I need to do? What have I done wrong?

  • 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-28T02:46:58+00:00Added an answer on May 28, 2026 at 2:46 am

    The navigation bar doesn’t remember changes that were made to it, so when you push a new controller, the navigation bar is altered to give the title of the new view controller, but it doesn’t store what was there for the previous view controller.

    You will need to recreate the items in the toolbar each time you come back to the view controller that has custom items.

    You might be able to do this on viewWillAppear instead of viewDidLoad. I can’t recall exactly, but you should recreate custom controls on navigation toolbar because it does not get preserved when a new view controller is pushed.

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

Sidebar

Related Questions

What function is definitely to be called in UIViewController whenever the view is shown
every UIViewController has a method called willRotateToInterface. Is it possible to do this within
I have a UIViewController which when it loads it loads up this.. MapViewController *mapController
I have a UIViewController whose view has a custom subview. This custom subview needs
I want to return a NSString * from a UIViewController, called InputUIViewController, to the
I always use UIViewController(As RootViewController) to switch the view of 3 different UIViewControllers. There
I have a UIViewController — let's call it FormController — which is simply a
The parentViewController property of UIViewController is readonly, but I am nesting custom view controllers
In my UIViewController's viewDidLoad method I instance a UIImageView instance called stage: stage =
first of all... i'm italian, so i'm sorry for my bad english! so... this

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.