0

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.

User97693321
  • 3,336
  • 7
  • 45
  • 69
Shabbir Panjesha
  • 438
  • 1
  • 4
  • 12

1 Answers1

3

Start with this for the animation:

UIView shake animation

Then implement animationDidStop:finished: to perform some action when the animation has finished.

Best regards.

Community
  • 1
  • 1
Matt Long
  • 24,438
  • 4
  • 73
  • 99