I created a uibutton that when the user taps it, it performs this action
-(IBAction) showMyViewController:(id) sender {
MyViewController *mvc = [[MyViewController alloc] initWithNibName:@"MyViewController" bundle:nil];
[UIView beginAnimations:@"animation" context:nil];
[self.navigationController pushViewController: bmvc animated:NO];
[UIView setAnimationTransition:UIViewAnimationTransitionFlipFromLeft forView:self.navigationController.view cache:NO];
[UIView setAnimationDuration:1];
[UIView commitAnimations];
if ([self.navigationController isNavigationBarHidden])
[self.navigationController setNavigationBarHidden:NO animated:YES];
[mvc release];
}
The action flips like I want it to but the back button doesn't perform the the same animation. All it does push back the previous view when I want it to flipfromright. If you know how to do this please help.