I have a UIView that has a UIPanGestureRecognizer attached to it the gesture is working fine except that the starting point is not where the pan first started it is usually
CGPoint beg = [panRecognizer locationInView:_scrollView]; CGPoint trans = [panRecognizer translationInView:_scrollView]; CGPoint firstTouch = CGPointSubtract(beg, trans);
Put this code in the UIGestureRecognizerStateBegan case