ios - ContainerView with multiple embed segues -
is there way have single containerview multiple embed segues? aim containerview hold few different viewcontrollers depending on buttons have been pressed; 1 going visible @ time. want use embed segues in interface builder storyboards automatically shown @ same size containerview.
i realise can manually resize other viewcontrollers in interfacebuilder, want automatic sizing provided embed segue. if way of doing available, fine too. not having views load on viewdidload fine - mentioned earlier, shown viewcontroller can change depending on buttons pressed.
no, there no way have multiple embed segues 1 container view. 1 way setup in ib, make embedded controller uitabbarcontroller (with tab bar hidden). can have many controllers in tabs want, , switch them in code using selectedindex property of uitabbarcontroller.
Comments
Post a Comment