Skip to content
This repository has been archived by the owner on Dec 4, 2018. It is now read-only.

Commit

Permalink
[NEW]: Exploring how to do the better push animation explained in #2
Browse files Browse the repository at this point in the history
  • Loading branch information
Mazyod committed Jun 30, 2014
1 parent c71041d commit da8ec46
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion TLYShyNavBar/TLYShyNavBarManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,7 @@ - (void)setExtensionView:(UIView *)view
- (void)prepareForDisplay
{
[self.navBarController expand];
[self.viewController.navigationController setNavigationBarHidden:NO animated:YES];
self.previousYOffset = NAN;
}

Expand All @@ -243,7 +244,8 @@ - (void)layoutViews

- (void)cleanup
{
[self.navBarController expand];
// [self.navBarController expand];
[self.viewController.navigationController setNavigationBarHidden:YES animated:YES];
self.previousYOffset = NAN;
}

Expand Down

0 comments on commit da8ec46

Please sign in to comment.