Created
February 16, 2012 10:02
-
-
Save timd/1843757 to your computer and use it in GitHub Desktop.
scrollViewDidEndDragging:willDecelerate:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-(void)scrollViewDidEndDragging:(UIScrollView *)scrollView willDecelerate:(BOOL)decelerate { | |
CGFloat contentOffsetY = scrollView.contentOffset.y; | |
if (contentOffsetY < -60.0) { | |
[self displayActivitySpinner]; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment