Possible Duplicate:
How do i put a void(shake gesture) inside a IBAction(button)?
Hi I have posted this question quite a few times before and I am getting quite tired. I am a total beginner and I will state exactly what I need but if you answer and want votes and other things like that then please explain your answer and instruct me what to do, as I said before I am a total beginner.
So I have a animation ready but I need a code and I'll explain what the code needs to do now:
So their should be a button saying PLAY and when the button press's PLAY, the button disappear's and a label shows saying 'SHAKE TO START' once the user shake's the iPhone the label disappear's and the animation plays one time and ends. Thats all I'm asking so please answer and explain with code and I will vote up and anything else you need, thank you!