-(BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldReceiveTouch:(UITouch *)touch{
CGPoint point = [touch locationInView:self];
BOOL inside = [self.collectionView pointInside:point withEvent:UIEventTypeTouches];
if(inside && _isShow){
return NO;
}
return YES;
}
网友评论