Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想给一个按钮添加动画。当一个按钮被触摸时,它应该会晃动一段时间。然后与它链接的任何方法都应该被调用。
从动画开始:
UIView 摇动动画
然后实现animationDidStop:finished:在动画结束时执行一些动作。
此致。