iOS - UIViewControllers sharing a screen -
i'm writing app has 2 sections this:

the idea on top half i'm creating request, , on bottom i'm displaying results. uiviewcontroller subclass grows , grows thought might idea split 2 uiviewcontrollers. (so i'm trying uisplitviewcontroller).
although know it's possible programmatically i'd put both uiviewcontrollers in screen interface builder can manage autolayouts , design there. dragging , dropping doesn't work there.
is possible? , more important - design or should stick rule "one view controller 1 screen"?
you can use custom container view controller achieve want. see:
wwdc 2011 #102 on uiviewcontroller containment (apple developer id required)
the containment section of view controller programming guide
the containment section of uiviewcontroller reference document
in short, since ios 5, no longer have have single view controller. make sure call necessary containment related calls. , ios 6 makes easier design storyboards custom containers "container view" object.
Comments
Post a Comment