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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T06:30:48+00:00 2026-05-20T06:30:48+00:00

I have a UINavigationController that contains 3 UIViewControllers on the stack. View A –

  • 0

I have a UINavigationController that contains 3 UIViewControllers on the stack.

View A - is the root
View B - is pushed by View A and has `self.navigationItem.hidesBackButton = YES;`
View C - is pushed by View B and has `self.navigationItem.hidesBackButton = NO;`

View C does not show the back button, even though I have hidesBackButton set to NO. How can I resolve this?

  • 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-20T06:30:48+00:00Added an answer on May 20, 2026 at 6:30 am

    Update
    A possible bug in 4.2 as it works till 4.1 sdks

    I have tried this and mine is working perfectly. I am just posting the implementation of B view controller (BVC) and C view controller (CVC). My initial guess is that you are not setting the title of BVC in viewDidLoad.

    @implementation BVC
    
    
    // Implement viewDidLoad to do additional setup after loading the view, typically from a nib.
    - (void)viewDidLoad {
        [super viewDidLoad];
        self.navigationItem.title = @"I am B";
    }
    
    
    - (void) viewWillAppear:(BOOL)animated{
        self.navigationItem.hidesBackButton = YES;
    }
    
    - (IBAction)pushB:(UIButton *)sender{
        CVC *cvc = [[CVC alloc] initWithNibName:@"CVC" bundle:nil];
        [self.navigationController pushViewController:cvc animated:YES];
        [cvc release];
    }
    @end
    
    @implementation CVC
    
    - (void) viewWillAppear:(BOOL)animated{
        self.navigationItem.hidesBackButton = NO;
    }
    @end
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a NIB that contains a UINavigationController which has a UIViewController . The
I'm developing an iPhone app, where I have a UITabBarController that has a UINavigationController
I'm working on a view-based iPhone app that has the following flow: search ->
Say I have two UIViewControllers , all working under a UINavigationController : RootViewController hosts
I have a problem for changing the displayed view. My app contains 2 views
I have a application that make use of a UINavigationController. In the rootview I
I have a view controller that is inside a popover, and I want to
i have a application that will have multiple uiviewcontrollers, the navigation in the application
I have a UINavigationController containing an UIViewController initialized with a UIView. The UINavigationController also
I have a UINavigationController. In its toolbar is a segmented control with two buttons.

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.