Created
June 14, 2016 19:54
-
-
Save Qiki/d9ce77c3c152e3db8f54f05f69d0cd2f to your computer and use it in GitHub Desktop.
This file contains hidden or 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
CGFloat height = CGRectGetHeight(scrollView.frame); | |
CGFloat contentYoffset = scrollView.contentOffset.y; | |
CGFloat distanceFromBottom = scrollView.contentSize.height - contentYoffset; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment