如何使用水平翻转动画呈现模态视图(如在导航控制器上按下视图控制器)?我试过这个,但它不起作用
[UIView beginAnimations:@"animation" context:nil];
[UIView setAnimationTransition:UIViewAnimationTransitionFlipFromLeft forView:self.view cache:NO];
[self presentModalViewController:detailsViewController animated:NO];
[UIView commitAnimations];
Run Code Online (Sandbox Code Playgroud)
谢谢 !