4
我想創建一個自定義SEGUE交換ViewControllers用捲縮的動畫,但我不能找到一種方法,會是什麼 - 這個(無效)執行?定製Segue公司與UIViewAnimationOptionTransitionCurlDown
我有了這個
-(void)perform{
UIViewController *dst = [self destinationViewController];
UIViewController *src = [self sourceViewController];
[UIView beginAnimations:nil context:nil];
//change to set the time
[UIView setAnimationDuration:1];
[UIView setAnimationBeginsFromCurrentState:YES];
[UIView setAnimationTransition:UIViewAnimationTransitionCurlUp forView:src.view cache:YES];
[UIView commitAnimations];
}
但我沒有得到改變看法,反正感謝您的幫助!