I am creating an app and I have bumped into a problem.
My app has a play button, once the user presses it a animation plays and finishes.
I have created the above in code wh
In your IBAction set a BOOL named something like "readyToShake" to TRUE. Then in your Shake listener check for if "readyToShake" is TRUE, if it is, start the animation. If it is FALSE, ignore the shake gesture.