Created
October 26, 2010 21:01
-
-
Save kwylez/647794 to your computer and use it in GitHub Desktop.
Force backbaritem to show
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void)viewWillAppear:(BOOL)animated { | |
[super viewWillAppear:animated]; | |
self.navigationItem.title = @"Back"; | |
[self.navigationItem setHidesBackButton:YES animated:NO]; | |
[self.navigationController.navigationBar setNeedsDisplay]; | |
} | |
- (void)viewDidAppear:(BOOL)animated { | |
[self.navigationItem setHidesBackButton:NO animated:NO]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment