我在我的基於導航的應用程序中有一個動畫。動畫準備就緒時要做些什麼。
[UIView beginAnimations:nil context:nil];
[UIView setAnimationDuration:1.5];
[UIView setAnimationBeginsFromCurrentState:YES];
[UIView setAnimationTransition:UIViewAnimationTransitionCurlDown
forView:self.view cache:YES];
[UIImageView commitAnimations];
後直接這段代碼我叫
[self.navigationController popViewControllerAnimated:NO];
的事情是,我不希望我的彈出之前的ViewController我的動畫已準備就緒。