Merge pull request #82 from evands/fix-scroll-to-top
Fix scrollToTop (by tapping on the status bar)
This commit is contained in:
commit
f02f0ad8a4
|
|
@ -437,6 +437,12 @@ static void * const kTLYShyNavBarManagerKVOContext = (void*)&kTLYShyNavBarManage
|
|||
}
|
||||
}
|
||||
|
||||
- (void)scrollViewDidScrollToTop:(UIScrollView *)scrollView
|
||||
{
|
||||
[self.scrollView scrollRectToVisible:CGRectMake(0,0,1,1) animated:YES];
|
||||
[self.scrollView flashScrollIndicators];
|
||||
}
|
||||
|
||||
- (void)scrollViewDidEndDecelerating:(UIScrollView *)scrollView
|
||||
{
|
||||
[self _handleScrollingEnded];
|
||||
|
|
|
|||
Loading…
Reference in New Issue