ios - Hide the top bar in UITabBarController -


<> Html>

How do I hide the top bar in the UITabBarController using the OBJ-C code (without using the interface builder) ?

Please see the image in the link given below to better understand your requirement.

I already have a toolbar as you can see and I do not want this. I am not using XIB / NIB files and I am not creating all objects using plain OBJ-C code.

Cheers Jagge

Topbar is not part of the UINavigationController, not UITabBarController, Can be hidden in your view by the WillAppear method:

  self.navigationController.navigationBarHidden = YES;  

But I'm pretty sure that the navigation bar is always on top, so I think the strip you want to hide is actually your toolbar.

  self .myToolBar.hidden = Yes;  

Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -