首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 其他教程 > 其他相关 >

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

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

热点排行