开发者

Animation on UIButton

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜