父窗口不响应touch事件 子窗口呼应touch事件 hitTest

父窗口不响应touch事件子窗口相应touch事件 hitTestuiview addition-(id)hitTest:(CGPoint)point withEven

父窗口不响应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;}