Search code examples
iphoneipadcoordinatestouchesmoved

touchesMoved get all the coordinates swiping fast


I want to get all the coordinates in touchesMoved. The problem I am facing is when you swipe fast on my view than touchesMoved is missing few coordinates from the swipe.

I have referred this question too. touchesMoved:withEvent

Any solution for this ?


Solution

  • I don't think it is possible to get missing coordinates. Because calling interval of touchesMoved is not frequent enough to catch all fast movements. Maybe you can draw a path between coordinates you can catch. That gives you a rough approximation of missing points.