【发布时间】:2010-04-09 22:38:29
【问题描述】:
我已经通过以下方式设置了动画(self 是 UIImageView,myImages 是 UIImages 数组):
self.animationImages = myImages;
self.animationDuration = 50;
self.animationRepeatCount = 0;
[self startAnimating];
在动画期间,我想检查当前图像。我尝试了以下方式
if([self image]==[UIImage imageNamed:@"image1.png"]);
但这不起作用。有没有直接的方法?我可以跟踪动画期间显示的图像吗?
【问题讨论】:
标签: iphone objective-c animation uiview