开发者

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开发者_如何学Python for this ?


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜