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.
Start with this for the animation:
UIView shake animation
Then implement animationDidStop:finished: to perform some action when the animation has finished.
Best regards.
精彩评论