Adding a view with a view controller as a subview of another view controller. Doesn't work.
Posted
by Tom
on Stack Overflow
See other posts from Stack Overflow
or by Tom
Published on 2010-04-30T23:33:16Z
Indexed on
2010/04/30
23:37 UTC
Read the original article
Hit count: 205
I'm trying to essentially re-implement the UISplitViewController (because it has its limits), but when I create a UIViewController viewController, and then do an "[viewController.view addSubview contentViewController.view]" on it, to add a view that already has a view controller, that content view doesn't seem to get initialised by its view controller. I guess its view controller is getting detached or deallocated, is this the case?
© Stack Overflow or respective owner