Find the end/finish coordinates you a UISwipeGestureRecognizer

Posted by Code on Stack Overflow See other posts from Stack Overflow or by Code
Published on 2012-12-20T11:01:23Z Indexed on 2012/12/20 11:02 UTC
Read the original article Hit count: 140

Filed under:
|
|

I can find the start coordinates of where a swipe starts by doing the following

- (void)oneFingerSwipeUp:(UISwipeGestureRecognizer *)recognizer 
{ 
CGPoint point = [recognizer locationInView:[self view]];
NSLog(@"Swipe up - start location: %f,%f", point.x, point.y);
}

Is it possible to find the coordinates where the swipe ended? I looked into the docs and its not mentioned. Is there some work around for this?

Many Thanks, -Code

© Stack Overflow or respective owner

Related posts about iphone

Related posts about objective-c