【发布时间】:2011-12-21 03:53:16
【问题描述】:
我需要一个接一个地为 10 组图像(10 组图像)制作动画 每组将在不同的持续时间内进行动画处理。 我试图用这样的 UIImageView 做到这一点:
[myImageView1 setAnimationImages:imagesSet1];
[myImageView1 setAnimationRepeatCount:0];
[myImageView1 setAnimationDuration:2];
[myImageView1 startAnimation];
[myImageView1 setAnimationImages:imagesSet2];
[myImageView1 setAnimationRepeatCount:0];
[myImageView1 setAnimationDuration:5];
[myImageView1 startAnimation];
但这不起作用,它显示最后的图像。
【问题讨论】:
-
因为你不断调用 Animations ,这就是问题
标签: iphone animation uiimageview uiimage core-animation