摘要:
UITapGestureRecognizer* singleTap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(handleSingleTap:)];[self.view addGestureRecognizer:singleTap]; //这个可以加到任何控件上,比如你只想响应WebView,我正好填满整个屏幕singleTap.delegate = self;singleTap.cancelsTouchesInView = NO;[singleTap release];- (BOOL)gest 阅读全文