给ScrollView添加touches点击事件
正常情况下view上的touches点击事件是不能在scrollView上触发的,如果要实现,可以给scrollView添加点击手势,然后捕获点击坐标点
UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc]initWithTarget:self action:@selector(tapAction:)];
- (void)tapAction:(UITapGestureRecognizer *)sender
{
CGPoint point = [sender locationInView:sender.view];
}