私はこのアニメーションをtabbarviewcontrollerの最初のviewcontrollerに持っています
- (void)viewDidAppear:(BOOL)animated
{
[UIView animateWithDuration:4.0 delay:0.0 options:UIViewAnimationOptionRepeat | UIViewAnimationOptionCurveLinear animations:^{
CGAffineTransform transform = CGAffineTransformMakeRotation(M_PI);
self.rotatingImage.transform = transform;
} completion:NULL];
}
それはうまく機能しますが、タブバーからビューコントローラーを変更して最初のビューコントローラーに戻ると、アニメーションが停止します。
同様のスレッドiOSUIViewアニメーションの問題がありますが、説明はありません