ios - Tab Bar appearing after popping a view controller -
im developing ios application, , in app im using tabbar controller. , within tab bar controller im navigating view controller. before pushing view controller im setting property of controller
viewcontroller.hidesbottombarwhenpushed = yes;
and im navigating view controller has tab bar @ bottom.
the problem when pop view controller view controller tab bar appears in view too. there way hide tab bar when popping view controller?
itll great if can me out this.
thanks in advance.
in case viewwillappear method usefull. in firstviewcontroller put code
-(void)viewwillappear:(bool)animated { self.tabbarcontroller.tabbar.hidden = yes; }
so when secondviewcontroller poped out call method , bottom bar hidden .
Comments
Post a Comment