【发布时间】:2015-08-26 09:53:34
【问题描述】:
我刚开始尝试在我的 IOS 开发中使用动画,当我点击一个按钮时我已经设法让动画工作了 - 但是它会在一个恒定循环中重复! 如何阻止我的动画在通过我的 .png 序列后重复?
[measureButton.imageView setAnimationImages:images];
[measureButton.imageView setAnimationDuration:0.75];
[measureButton.imageView startAnimating];
【问题讨论】:
-
我在那里找到了一些东西:stackoverflow.com/a/11760933/5073674
标签: ios objective-c animation uibutton