UIScrollView contentInset maybe not correct during the pull refresh
Closed this issue · 0 comments
zmzhuai commented
During the pull refresh, I call the [self.scrollView ins_setInfinityScrollEnabled:NO];
UIScrollView contentInset is changed by stopInfiniteScrollWithStoppingContentOffset method, INSPullToRefreshBackgroundView will save the contentInset to externalContentInset. this contentInset is incorrect.
I change the stopInfiniteScrollWithStoppingContentOffset to endInfiniteScrollingWithStoppingContentOffset can resolve this problem.