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];
}
但我没有得到改变看法,反正感谢您的帮助!