How to display 2 modal view controllers on iphone one after another?
Please help
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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