讓uiview可被點擊事件穿透

在view的.m文件中it 實現如下方法event - (UIView*)hitTest:(CGPoint)point withEvent:(UIEvent *)event{方法     UIView *hitView = [super hitTest:point withEvent:event];文件     if(hitView == self){view         return nil
相關文章
相關標籤/搜索