samvermette / SVPullToRefresh

Give pull-to-refresh & infinite scrolling to any UIScrollView with 1 line of code.
http://samvermette.com/314
MIT License
4.82k stars 1.09k forks source link

Fixed infinite scrolling activate pull to refresh issue #264

Open MittaKarthik opened 9 years ago

MittaKarthik commented 9 years ago

Fixed activating pull to refresh by infinite scrolling issue, when scrollview content height is less than bounds height, by checking scrolling direction in scrollviewdidscroll method in SVPullToRefresh/UIScrollView+SVInfiniteScrolling.m class

mouse-lin commented 9 years ago

well done

LawrenceHan commented 8 years ago

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.

LawrenceHan commented 8 years ago

Hi, I think this one is still useful in some corner case. I merged it into https://github.com/LawrenceHan/SVPullToRefresh