Pulling in not working for scrollViewDidEndDragging #73

Open
ynie opened this Issue Oct 2, 2011 · 0 comments

Projects

None yet

1 participant

@ynie
ynie commented Oct 2, 2011

In TUIScrollView ~line 950,


if(_pull.xPulling) {
    _pull.xPulling = NO;
...
 }
        
if(_pull.yPulling) {
    _pull.yPulling = NO;
...
}
        
if(self.isPulling && _scrollViewFlags.didChangeContentInset){
...
}

self.isPulling is always false. Create a temporary variable to remember the state of isPulling can solve this problem.

Steven

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment