Skip to content

Commit

Permalink
[FIX]: One more fix, if we are not using the navigation controller, w…
Browse files Browse the repository at this point in the history
…e switch it back ourselves!
  • Loading branch information
Mazyod committed Jul 4, 2014
1 parent dcfe8e4 commit 6bfe614
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions TLYShyNavBar/TLYShyNavBarManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -178,6 +178,12 @@ - (void)_viewWillAppear
{
[self _resetCacheVariables];
self.viewControllerVisible = YES;

UINavigationController *navController = self.viewController.navigationController;
if (navController.isNavigationBarHidden)
{
[navController setNavigationBarHidden:NO animated:NO];
}
}

- (void)_viewWillDisappear
Expand Down

0 comments on commit 6bfe614

Please sign in to comment.