
我有一个大的框架,通过它我遮蔽了一个较小的视图,现在我想检测一个较小的视图,但接触开始了,不允许我过滤掩蔽的视图,任何指针?
发布于 2013-03-13 18:44:21
- (void)viewDidLoad
{
UITapGestureRecognizer *gr = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(UIviewTapped:)];
[yourUIview addGestureRecognizer:gr];
}
-(void) UIviewTapped:(UIView *)view
{
// write touched code here.
}https://stackoverflow.com/questions/15382667
复制相似问题