Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to hide the tabbar in a particular view?

Im working on tab bar application.

in all the view tabbar carried. ok.

but in a particular one view i didn't want to display my tabbar.

when i pushed my view to the next view, tab bar carried to that view also.

when i tried to hide this it shows white space for that view.

what to do.. thnaks in advance

like image 801
iOS dev Avatar asked Dec 06 '22 15:12

iOS dev


1 Answers

try....

MyViewController *myController = [[MyViewController alloc] init];
//hide tabbar
myController.hidesBottomBarWhenPushed = YES;
//add it to stack.
[[self navigationController] pushViewController:myController animated:YES];
like image 97
janusfidel Avatar answered Dec 27 '22 20:12

janusfidel