I want to add animation to a button.when a button is touched it should shake for some duration. Then whatever method is linked with it should get call.
Asked
Active
Viewed 907 times
0
-
Could you define shake? Vertically, horizontally, both? – Evan Mulawski May 10 '11 at 13:43
1 Answers
3
Start with this for the animation:
Then implement animationDidStop:finished: to perform some action when the animation has finished.
Best regards.