Is it possible to "shake to refresh"?

Good day,

Is it possible to detect when an iPhone has been shaken?
For example, car is stuck on a jump or something, so when the iPhone shakes a bit, it re spawns.

If this is possible, is there a demo, tutorial and assist me in a helpful directional on how to detect if a shake as occurred. The rest would be easy to do then.

Many thanks

Best Answer

  • gyroscopegyroscope I am here.Posts: 6,598
    edited October 2013 Accepted Answer

    Hi @123App

    This tutorial by @tshirtbooth called "Shaking in your iOS Games made with GameSalad (using the accelerometer)" should do the trick for you, by applying the principles to your particular situation...

Sign In or Register to comment.