Open 2103677649 opened 6 years ago
-(void)setAnimatingDrawer:(BOOL)animatingDrawer{
_animatingDrawer = animatingDrawer; [self.view setUserInteractionEnabled:!animatingDrawer];
//panGesture == self.mPanGesture if (_animatingDrawer == NO) { if (self.mPanGesture && self.mPanGesture.enabled == NO) self.mPanGesture.enabled = YES; } }
-(void)panGestureCallback:(UIPanGestureRecognizer *)panGesture{
switch (panGesture.state) { case UIGestureRecognizerStateBegan:{ if(self.animatingDrawer){ [panGesture setEnabled:NO]; break; }
-(void)setAnimatingDrawer:(BOOL)animatingDrawer{
//panGesture == self.mPanGesture if (_animatingDrawer == NO) { if (self.mPanGesture && self.mPanGesture.enabled == NO) self.mPanGesture.enabled = YES; } }
-(void)panGestureCallback:(UIPanGestureRecognizer *)panGesture{