How do I capture the point initially tapped in a UIPanGestureRecognizer?
问题 I have an app that lets the user trace lines on the screen. I am doing so by recording the points within a UIPanGestureRecognizer: -(void)handlePanFrom:(UIPanGestureRecognizer *)recognizer { CGPoint pixelPos = [recognizer locationInView:rootViewController.glView]; NSLog(@"recorded point %f,%f",pixelPos.x,pixelPos.y); } That works fine. However, I'm very interested in the first point the user tapped before they began panning. But the code above only gives me the points that occurred after the