Reputation: 25285
When I drag a finger across the screen, there seems to be a limit to how quickly touchesMoved gets called. It seems that the limit is around 50/second. What controls this limit, and is it possible to change this?
I'm guessing this is controlled at a very low level and I'm stuck with it, but perhaps not. I'd love to be able to have a higher resolution time-wise for these touch events.
Upvotes: 1
Views: 1373
Reputation: 34945
Yes, I think the iPhone is sampling the touches roughly 60 times per second. When you spend time in touchedMoved
that number decreases relative to how much time you are using for processing the touch.
Upvotes: 1
Reputation: 30099
It takes computational resources to handle touchesMoved, especially if you do a lot in your touch handler, so you are going to hit an upper bound at some point, assuming it is not capped.
My guess is that there is no cap, and you are just hitting the upper bound of what the iPhone can handle while it is also trying to draw your application.
Just a guess though.
Upvotes: 1