摘要:
要求检测UIWebView上有touch动作即可。我的方法是使用UITapGestureRecognizer。关键的地方有两点,请看我的代码(我的代码是在一个UIViewController中):UITapGestureRecognizer*singleTap=[[UITapGestureRecognizeralloc]initWithTarget:selfaction:@selector(handleSingleTap:)];[self.viewaddGestureRecognizer:singleTap];singleTap.delegate=self;singleTap.cancelsT 阅读全文
posted @ 2011-04-29 12:36
林强
阅读(1170)
评论(0)
推荐(0)