ボタンを左から右に移動するアニメーションを追加しようとしています。
次のコードを追加しました
[self.view beginAnimations:nil context:nil];
[self.view setAnimationDuration:1.0f];
[button setFrame:newFrame];
[self.view commitAnimations];
しかし、ビルドすると、「インスタンスメソッドbeginAnimations:context:notfound」という警告が表示されます。
QuartzCoreフレームワークを追加して含めました
#import <QuartzCore/CoreAnimation.h>
誰かが私が欠けているものを教えてもらえますか?
ありがとうございました