- (BOOL)gestureRecognizer:(UIGestureRecognizer *)gestureRecognizer shouldReceiveTouch:(UITouch *)touch{
if ([gestureRecognizer isKindOfClass:[UITapGestureRecognizer class]]) {
if ( [touch.view isDescendantOfView:_errorView] ) {
return NO;
}
}
return YES;
}
网友评论