Search code examples
iphoneuitouch

Find the Speed of Touches and Swipes?


I wanted to know how we can find the speed of user's Touch and Swipes. Can some one give a sample for that?


Solution

  • UIPanGestureRecognizer has a velocityInView: method (measured in points per second).