This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Doric/doric-iOS/Pod/Classes/Shader/DoricUIView.m

18 lines
368 B
Mathematica
Raw Permalink Normal View History

//
// Created by pengfei.zhou on 2022/12/6.
//
#import "DoricUIView.h"
@implementation DoricUIView
- (nullable UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event {
UIView *target = [super hitTest:point withEvent:event];
if (self.gestureRecognizers.count == 0 && target == self) {
return nil;
} else {
return target;
}
}
@end