iphone - UIViewController in a UITabBarController without tab bar item -
so have application have view controller (which want appear first when app starts) , tab bar controller. have other navigation bar controllers in tab bar controller. want place view controller on top of tab bar controller. making tab bar controller parent of view controller better though.
but take note, not want tab bar item represent view controller , want tab bar appear along view controller. not , not want use storyboards as possible. how can achieve this?
i guess simplest solution use screenshot of tabbar , put in homeviewcontroller
button. in case use homeviewcontroller
rootviewcontroller
, in button action set tabbarcontroller
rootviewcontroller
.
root = home + button
-->
root = tabbar
perhaps need 4 buttons, if want correct tab selected.
Comments
Post a Comment