父窗口不响应touch事件 子窗口相应touch事件 hitTest
uiview addition
-(id)hitTest:(CGPoint)point withEvent:(UIEvent *)event { id hitView = [super hitTest:point withEvent:event]; if (hitView == self) return nil; else return hitView;}
发布时间: 2012-10-19 16:53:36 作者: rapoo
父窗口不响应touch事件 子窗口相应touch事件 hitTest
uiview addition
-(id)hitTest:(CGPoint)point withEvent:(UIEvent *)event { id hitView = [super hitTest:point withEvent:event]; if (hitView == self) return nil; else return hitView;}