Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

ppn

macrumors member
Original poster
Oct 31, 2010
36
0
I currently have a structure where I have

Main Menu ---> Quiz View --> Results View

I'm using the presentModalViewController and dismissModalViewController to get from 1 layer to the next but I want to be able to go from the Results View to the Main Menu without having to go through the Quiz View. Is there a way to do that without using dismissModalViewController twice? I've read somewhere else that you can use the becomeFirstResponder and define the Main Menu as the rootViewController but I'm not exactly how to implement that.
 
If this is a frequent need you may want to consider switching to using a navigation controller instead, where popping back to the top view controller is much easier. If not, I'd suggest a boolean that, when true, dismisses your QuizView when it appears.
 
If I use the push and pop, will I still be able to use the fancy fliphorizontal, flipvertical animations? Pushing and popping is kind of dry.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.