I’m currently using UISplitViewController as my app’s rootViewController. To present progress dialogs I use presentModalViewController, but for the one and other reason I’m not entirely happy with it and want to do my own modal thing.
If one of my modal views is supposed to be shown, I want to add another subview to my app’s main window. This subview is going to be managed by its own UIViewController subclass to make it rotate properly and do all the stuff I need.
Is this design aproach okay or will I run into issues with UISplitViewController (it is very special in so many ways and seems to be offended easily if not treaten right! :-))?
Is it a problem to have two UIViewControllers next to each other?
Please don’t discuss “why don’t you use presentModalViewController then?”.
You may be ok with
UISplitViewControllerif you do it properly, aspresentModalViewControllerdoes something similar.One alternative you should look into is
UIPopoverControllerand the UIViewController’smodalIfPopoverproperty.Also, you say you aren’t happy with
presentModalViewControllerand perhaps if you say what was wrong with it we can help you work around whatever issues you have with it. This is the exact case that it seems to be meant for.