Created
August 28, 2013 15:34
-
-
Save jordanebelanger/6367410 to your computer and use it in GitHub Desktop.
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 | |
{ | |
if (scrollView.scrollDirectionX == ScrollDirectionRight) { | |
//Do something with your views etc | |
} | |
if (scrollView.scrollDirectionY == ScrollDirectionUp) { | |
//Do something with your views etc | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment