I have a UINavigationControl and I would like to present a view controller pushing it from the top and removing it from the view pushing it to the top.
Is there a way to change the default animation used when you call
[self.navigationController pushViewController:myViewController animated:YES];
to another animation instead of pushing right to left or do I have to animate it myself?
In the second case, how do I do that?
thanks.
Import Quartzcore framework
add header line in .h file
than where you need to call next viewController, just add this animation line
Here is call to view controller and add in super view, when you BACK TO this view, just add same animation maintain only left and right, than set removeFromSuperView..