- (BOOL)gestureRecognizer:(UIGestureRecognizer*)gestureRecognizer shouldReceiveTouch:(UITouch*)touch
{
//左边能点击,右边不能点击
//获取触摸点位置
CGPointcurP = [touchlocationInView:self.view];
if(curP.x
NSLog(@"-----------------");
returnYES;
}else{
NSLog(@"+++++++++++++++++");
returnNO;
}
}
网友评论