views:

58

answers:

0

I am using a UIPanGestureRecognizer to rotate a circle. I need to know the start coordinate of the gesture and the end coordinate of the gesture. Would the start be locationInView and the end be translationInView provided i setTranslation to 0 at the end of the recognition?

Eventually i need to calculate the angle between the two points to determine how much rotate the image by, but that is a separate question.

Thanks.