ios - can't make tab bar hidden when using container views -
my app uses view controllers each containing 2 container views intermediaries between tab bar controller , navigation controllers. purpose of managing menu embedded in 1 of container views in each intermediary.
i need hide tab bar (aka bottom bar).
i have tried sending sethidesbottombarwhenpushed:yes
every view controller, , have tried selecting "hides bottom bar on push" in storyboard every vc.
why aren't these things working? assume must architecture:
can see, navigation controllers embedded within container views vcs linked tab bar controller.
how can hide tab bar in situation?
sethidesbottombarwhenpushed: has optional toolbar can added navigation controller, not tab bar. think if add line self.tabbarcontroller.tabbar.hidden = yes; initial controller in each tab (the 1 container view), hide tab bar. think though, leave space @ bottom tab bar was. i'm not sure best way fix be. perhaps, if you're hiding tab bar, shouldn't using tab bar controller @ all.
Comments
Post a Comment