You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Try to dismiss if backgroundTouch flag set.
if (_shouldDismissOnBackgroundTouch) {
[self dismiss:YES];
}
// If no mask, then return nil so touch passes through to underlying views.
if (_maskType == KLCPopupMaskTypeNone) {
return nil;
} else {
return hitView;
}
} else {
// If view is within containerView and contentTouch flag set, then try to hide.
if ([hitView isDescendantOfView:_containerView]) {
if (_shouldDismissOnContentTouch) {
[self dismiss:YES];
}
//Shouldn't this code exist here
if (_maskType == KLCPopupMaskTypeNone) {
return nil;
}
return hitView;
}
}
`
The text was updated successfully, but these errors were encountered:
`- (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event {
UIView* hitView = [super hitTest:point withEvent:event];
if (hitView == self) {
} else {
}
}
`
The text was updated successfully, but these errors were encountered: