I have found very strange behavior of scrollview. When we do pull to refresh and stop function is called, scrollviews contentOffset.y is set to self.scrollViewInsets.top + self.previousOffset, which is very different in compression with previous value. This makes the scrollView to glitch. If delete self.scrollViewInsets.top , everything goes well. You can have a look at the code in ESPullToRefresh.swift file, 313 - 336 rows.
Please have a look and explain why you do this.
Thank you!
I have found very strange behavior of scrollview. When we do pull to refresh and stop function is called, scrollviews contentOffset.y is set to self.scrollViewInsets.top + self.previousOffset, which is very different in compression with previous value. This makes the scrollView to glitch. If delete self.scrollViewInsets.top , everything goes well. You can have a look at the code in ESPullToRefresh.swift file, 313 - 336 rows. Please have a look and explain why you do this. Thank you!