我在UINavigationController中进行了自定义转换,我使用的代码如下:
SecondView *newView = [[SecondView alloc] initWithNibName:nil bundle:nil];
[UIView beginAnimtaions:nil context:nil];
[UIView setAnimationDuration:1.0];
[UIView setAnimationTransition:UIViewAnimationTransitionCurlDown];
[self.navigationcontroller pushViewController:newView animated:NO];
[UIView commitAntimations];
[newView release];
Run Code Online (Sandbox Code Playgroud)
但是这个过渡动画仅适用于Forward,我可以在Back上应用它吗?
谢谢