Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Blankwonder/7b86f7021583ebc3f1fd435867de5063 to your computer and use it in GitHub Desktop.
Save Blankwonder/7b86f7021583ebc3f1fd435867de5063 to your computer and use it in GitHub Desktop.
- (void)viewWillAppear:(BOOL)animated {
[super viewWillAppear:animated];
[self.navigationController setNavigationBarHidden:NO animated:animated];
}
- (void)viewDidAppear:(BOOL)animated {
[super viewDidAppear:animated];
[self.navigationController setNavigationBarHidden:NO animated:animated];
dispatch_after(dispatch_time(DISPATCH_TIME_NOW, 0.01 * NSEC_PER_SEC), dispatch_get_main_queue(), ^{
[self.navigationController setNavigationBarHidden:NO animated:NO];
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment