1

I use [[UIApplication sharedApplication] setApplicationSupportsShakeToEdit:YES]; to detect the shake event.

But sometimes if I shake a little too fast,it seems not sensitive enough and can't response to shake movement. I even keep shaking and almost can't feel my arm...

Do I need adjust some parameters or I handle the shake result not correct that it still handle the last shake movement?

1 Answer 1

0

To my knowledge there are no parameters to tweak regarding setApplicationSupportsShakeToEdit. If you want to adjust the sensitiveness, I would suggest the approach of millenomi who implemented the shake movement detection manually explained in the following SO answer:

How do I detect when someone shakes an iPhone?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.