iPhone modal view inside another modal view?

Posted by Rick on Stack Overflow See other posts from Stack Overflow or by Rick
Published on 2010-01-21T09:38:52Z Indexed on 2010/04/27 12:53 UTC
Read the original article Hit count: 341

Filed under:
|

My App uses a modal view when users add a new foo. The user selects a foo type using this modal view. Depending on what type is selected, the user needs to be asked for more information.

I'd like to use another modal view to ask for this extra information. I've tried to create the new modal view like the first one (which works great) and it leads to stack overflow/“Loading Stack Frames” error in Xcode.

Am I going about this in completely the wrong way i.e. is this just a really bad idea? Should I rethink the UI itself?

UINavigationController *navigationController = [[UINavigationController alloc]   
    initWithRootViewController:addController];
[self presentModalViewController:navigationController animated:YES];

© Stack Overflow or respective owner

Related posts about iphone

Related posts about user-interface