views:

204

answers:

1

Hi all ,

I am pushing my view controller with the following statement :

[[self navigationController] pushViewController:self.customViewController animatedWithTransition:UIViewAnimationTransitionFlipFromLeft];

Now when I am pressing the back button I want to animate it with the uiviewanimationtransitionflipfromright .

like

[self.navigationController popViewControllerAnimatedWithTransition:UIViewAnimationTransitionFlipFromLeft];

How Can I do so ?

Thanks