このような配列を使用していくつかの画像をアニメーション化しています
NSArray *weatherFrames = [NSArray array];
weatherFrames = [[NSArray alloc] initWithObjects:
[UIImage imageWithData:Data1],
[UIImage imageWithData:Data2],
[UIImage imageWithData:Data3],
[UIImage imageWithData:Data4],
[UIImage imageWithData:Data5],
nil];
weatherImage.animationImages = weatherFrames;
weatherImage.animationDuration = 10.00;
weatherImage.animationRepeatCount = 1;
[weatherImage release];
私ができるようにしたいのは、誰かが呼び出しをトリガーしたときにアニメーションを一時停止することです (つまり、IBAction から)。これは可能ですか、それとももっと良い方法がありますか?
ありがとう