Hi all,
How to display 2 modal view controllers on iphone one after another?
Please help
Hi all,
How to display 2 modal view controllers on iphone one after another?
Please help
You just call presentModalViewController again from within the previously modally presented viewcontroller. This way you may even add more than one viewcontroller, building a stack. When you dismiss one modally presented viewcontroller in the middle of this stack, all of its "child" modal viewcontrollers will be dismissed too. However they all disappear at once, only the topmost view controller is transitioned out.
See the discussion on -dismissModalViewController in UIViewController Class Reference