I believe that what you're looking for is UIViewAnimationTransitionCurlUp
and UIViewAnimationTransitionCurlDown
, two transition effects that can be applied when switching views. To produce the effect, you could use code like the following:
[UIView beginAnimations:nil context:nil];
[UIView setAnimationDuration:CURLANIMATIONDURATIONFORSWITCHINGVIEWS];
[UIView setAnimationTransition:UIViewAnimationTransitionCurlDown forView:self.view cache:YES];
[newlyVisibleController viewWillAppear:YES];
[previouslyVisibleController viewWillDisappear:YES];
[previouslyVisibleController.view removeFromSuperview];
[self.view addSubview:newlyVisibleController.view];
[previouslyVisibleController viewDidDisappear:YES];
[newlyVisibleController viewDidAppear:YES];
[UIView commitAnimations];