摘要: 最近在做一个项目,接连遇到两个关于点击事件的问题。1、点击button不能响应事件的。2、子view的frame超出了父view的容器大小,也不能响应点击事件。效果图如右:1、第一张图中的弹出的对话框是我封装的一个View类,我在superview中add-(void)shengji{ tanchuView *tanchuview = [[tanchuView alloc ]initWithBodyAndButton]; [self.view addSubview:tanchuview]; NSLog(@"tanchuview frame:%f,%f,%f,%f",tanc 阅读全文
posted @ 2013-11-28 11:09 ymonke 阅读(8616) 评论(0) 推荐(0) 编辑