Despite the title of this question, I am well aware that UIViewControllers cannot be placed inside UIViews.
Per Apple's documentation, UIViewControllers control the full screen in iPhone apps. However, on the iPad, they can also be used to control the contents of popover and split views as well as the full screen.
In my design, a number of very complex views, each with its own UIViewController, will be swapped in and out in an iPhone-sized rectangle in the center of the screen. This would be trivial if I were to use a popover, but I don't want the arrow or the black border that comes with it.
I have thought of two possibilities for dealing with this situation:
- Place the view controllers in a new UIWindow
- Use controller classes which do not inherit from UIViewController for those views
Which of these methods is least likely to cause future headaches? Please let me know if there is a better way to do this that I have not thought of.