Try it.
[UIView beginAnimations:@"View Flip" context:nil];
[UIView setAnimationDuration:3.25];
[UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];
[UIView setAnimationTransition:UIViewAnimationTransitionFlipFromRight forView:self.navigationController.view cache:YES];
[self.navigationController pushViewController:SecondViewController animated:NO];
[UIView commitAnimations];
Here's how to animate with map translation in Quick 3 mode:
UIView.transition (from: frontImageView,
to: backImageView,
duration: 0.65,
options: .transitionFlipFromRight,
completion: nil)
source
share