基本上,我正在嘗試UIViewAnimationTransitionCurlUp一個UIButton。動畫 完美地工作,但按鈕停留在那裏。UIButton Transition Curl Up問題
即按鈕捲起,但仍然存在按鈕的另一個實例。
我的代碼如下:
[UIButton beginAnimations:nil context:nil];
[UIButton setAnimationDuration:0.5];
[UIButton setAnimationBeginsFromCurrentState:YES];
[UIButton setAnimationTransition:UIViewAnimationTransitionCurlUp forView:self.view cache:YES];
[UIButton commitAnimations];
那個,我的朋友,非常完美! + 1UP – 2010-03-16 12:02:07