ios - Switch UIViewController to any other UIControlller without drag and drop -


so know how drag , drop different uicontrollers, example uitabbarcontroller comes additional items, uisplitviewcontroller additional items, if want convert created uiviewcontroller uitabbarcontroller or uisplitviewcontroller.

i've tried editing xml source, kinda broke flexible way achieve this.

also, can set in xcode default value uicontrollers simulated size freeform of width: 350, height: 450?

uisplitviewcontroller , uitabbarcontroller container view controllers uiviewcontrollers. container controllers don't replace or "switch" uiviewcontroller else.

what drop uisplitviewcontroller or uitabbarcontroller storyboard, create (control-drag) connection between uiviewcontroller , side in split view, or tab in tab bar.

as other question, want use adaptive ui techniques (i.e. size classes), instead of trying hardcode simulated values view's size. default view shows 600x600, corresponds wanyxhany. if need create different layout different size class, interface builder can handle simulated (regular or compact) sizes you.


Comments

Popular posts from this blog

facebook - android ACTION_SEND to share with specific application only -

python - Creating a new virtualenv gives a permissions error -

javascript - cocos2d-js draw circle not instantly -