I want to open a viewcontroller from right side of the screen.
That is on doing
[self presentModalViewController:pvc animated:YES];
I want the another viewcontroller’s view to appear as if its sliding from the right of the screen instead of appearing as if it is coming from the bottom of the screen 🙂
How can I achieve that. Please help 🙂
Look into UINavigationController – Class Reference. This lets you organize a hierarchy that will slide in from the side. Or you can play with the UIView animation blocks. Figure out whats best for your app. If you have several things you will be pushing from the side, like categories, use UINavigationController. If you just have a simple view you want to come in from the side and leave, you’ll want to use the UIView animation or other animation methods. The UIView animation will look like this: