12207480 / DOPDropDownMenu-Enhanced

DOPDropDownMenu 添加双列表 优化版 新增图片支持(double tableView, The optimization version ,new add image,detailText)
MIT License
1.74k stars 362 forks source link

超出父视图无效 设置了hittest也不行 #79

Open Roron0a opened 4 years ago

Roron0a commented 4 years ago
//- (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event
//{
//    UIView *view = [super hitTest:point withEvent:event];
//    if (view) {
//        return view;
//    } else {
//        for (UIView * v in self.subviews) {
//            if (CGRectContainsPoint(v.frame, point)) {
//                return v;
//            }
//        }
//        return nil;
//    }
//    return view;
//}

是我设置的不对还是?