views:

44

answers:

1

Hi,

I have a Tabbar application with a navigation controller (classic).

At some point when a url is selected a WebView controller is displayed with the appropriate url address.

I want to be able to use the tabbar area placing the webview over it. I tried [self.tabBarController.tabBar setHidden:TRUE];

but this just makes the tabbar white.

How can i do this?

Teo

A: 

You can use theView.hidesBottomBarWhenPushed. Then when you push the view onto the navigation stack, the bottom bar (tab bar) will be hidden.

If you want to hide the tab bar from within the view itself, afaik the only way is to hide it by either using .hidden = YES or changing the frame. Then you need to change the frame (more specifically the height) of the view to fill the empty space.

Rengers
Thanks, that worked really well.
teo