SVPullToRefresh
SVPullToRefresh copied to clipboard
Infinite scrolling no longer triggered inappropriately when the scroll view's content size is taller than its frame's height.
On UIScrollView+SVInfiniteScrolling.m's 'scrollViewDidScroll:', scrollOffsetThreshold would calculate a negative value whenever the scroll view's content size was less than the scroll view's frame's height. Under such conditions, infinite scrolling would get triggered when scrolling upwards.
I'm not sure what is your problem but try below code:
Hi I merged #260 code to https://github.com/LawrenceHan/SVPullToRefresh
Because it make more sense to me.
It will solve your problem. Let me know if it's not working in your project.