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 have a view controller that was presented using [self presentModalViewController:myVC animated:YES]; this VC
I have a view that is UIViewController (root) that handles ads and a UINavigationController
I have a UINavigationController(a) that pushes a UIViewController(b) onto the stack. (b) contains a
I'm developing an iPhone app, where I have a UITabBarController that has a UINavigationController
Assuming I have a project that is: using UINavigationController that has the (a) main
I have a UITableView in a UINavigationController that contains a rightBarButtonItem which should hide
I have created a UINavigationController with a UINavigationBar that has a UIBarButtonItem in the
I have a UINavigationController that has its left and right button properties set. Instead
I'm working on a view-based iPhone app that has the following flow: search ->

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.