I am using such code to present a new view, I don’t it’s good or not. Currently the default animation is show the view from bottom up, but i want it to animate from right to left(fly in), is it possible to change the default animation type and how? Thanks.
[self presentModalViewController:navController animated:animated];
You can disable the slide-up animation like this:
Then you can provide your own animation code:
This example gives you the “Fly-in” from right with a smooth speed-curve.
Another way is using the built in slide-in from right with navigationcontroller:
In this one, your top-viewcontroller needs to be a UINavigationController and it’s rootcontroller needs to be your viewcontroller. Then you can push other viewcontrollers.