Current Touch location
How does one get the current touch location from a GestureRecognizer?
开发者_JAVA百科I need to get the current touch location when the touch has begun as well as when the touch has ended.
What property is used to get this location?
Thanks
In your gesture recognizer handler:
CGPoint location = [gestureRecognizer locationInView:gestureRecognizer.view];
you could specify a different view, if you need it.
精彩评论