I am using a UIViewController and I use presentModalViewController:controllerr animated:YES to present it but I would like if it would slide down from the top of the screen instead of up from the bottom, any way to do this?
Iphone – How to present a UIViewController from the top of the screen instead of the bottom
iphonetransitionuimodaltransitionstyleuiviewuiviewcontroller
Best Answer
I created a function for pushing the
ViewControllers
from all 4 directions:The header file contains the following: