开发者

Animation on UIButton

开发者 https://www.devze.com 2023-03-05 01:37 出处:网络
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 animatio

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号