- (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event {
UIView *view = [super hitTest:point withEvent:event];
CGPoint tempPoint = [self.delbBut convertPoint:point fromView:self];
if ([self.XXXView pointInside:tempPoint withEvent:event]) {
return self.XXXView ;
}
return view;
}
网友评论