Page Jump effect between pages
-(Void) touchesBegan :( NSSet *) touches withEvent :( UIEvent *) event {/* 1. If the animation UIViewAnimationTransitionNone 2 is not used, the page is rotated from left to right to uiviewanimationtransitionflipfro, rotate pages from the right to the left, opposite to UIViewAnimationTransitionFlipFromLeft, UIViewAnimationTransitionFlipFromRight 4, curl pages, from the bottom up UIViewAnimationTransitionCurlUp 5, curl pages, UIViewAnimationTransitionCurlDown */FirstViewController * firstVC = [[FirstViewController alloc] init]; [UIView beginAnimations: nil context: NULL]; // set the animation attribute variation curve in the animation block [UIView setAnimationCurve: UIViewAnimationCurveEaseInOut]; // set the duration [UIView setAnimationDuration: 0.5]; // set the animated Effect of transition [UIView setAnimationTransition: UIViewAnimationTransitionFlipFromRight forView: self. navigationController. view cache: NO]; [self. navigationController pushViewController: firstVC animated: YES]; // submit the animation [UIView commitAnimations];}