0
アニメーションでボタンの位置を変更したいのですが、アニメーションのボタンをクリック可能にしなければなりません。アニメーションの変更中にクリック可能なボタン - 方法?
どうすればいいですか?
私はいくつかのソリューションを試しましたが、まだ成功していません。
[UIButton beginAnimations:nil context:nil];
[UIButton setAnimationDuration:1.0];
[UIButton setAnimationBeginsFromCurrentState:YES];
mybutton.transform = CGAffineTransformMakeTranslation(-10, 0);
// I also tried this:
// mybutton.frame = CGRectMake(300, 209, 57, 34);
[UIButton commitAnimations];
事前