Skip to content

Commit

Permalink
fixed issue 2
Browse files Browse the repository at this point in the history
  • Loading branch information
andreamazz committed Nov 22, 2013
1 parent 81b0baa commit 38e5b98
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
8 changes: 7 additions & 1 deletion AMScrollingNavbar/AMScrollingNavbarViewController.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,16 @@
*/
- (void)followScrollView:(UIView*)scrollableView;

/** NAvbar slide down
/** Navbar slide down
*
* Manually show the navbar
*/
- (void)showNavbar;

/** Navbar refresh
*
* Use this method when you manually change the navbar items to re-enable the fadeout
*/
- (void)refreshNavbar;

@end
5 changes: 5 additions & 0 deletions AMScrollingNavbar/AMScrollingNavbarViewController.m
Original file line number Diff line number Diff line change
Expand Up @@ -196,4 +196,9 @@ - (void)updateSizingWithDelta:(CGFloat)delta
self.scrollableView.layer.frame = frame;
}

- (void)refreshNavbar
{
[self.navigationController.navigationBar bringSubviewToFront:self.overlay];
}

@end

0 comments on commit 38e5b98

Please sign in to comment.