Does UINavigationController always fill the screen? It covers my tab bar - why?
Hi.
To the standard iPhone UIWindow I have added a UIView (let's call it 'InteriorView'. This 'InteriorView' contains a UITabBar, and a UIView (let's call it 'SelectedTabView') for loading content into (I handle the tab selections myself at present - I don't use a UITabBarController).
The tab bar works - selecting a different tab item changes the content in the 'SelectedTabView'.
However, if I insert a view into 'SelectedTabView' that uses a UINavigationController, suddenly these views (that are handled by the UINavigationController) consume the entire screen -- and they cover (ie hide) my tab bar. Note however, that I can still click on the tab bar region, and it will switch tabs - you just can't see the tab bar.
I have tried using Interface Builder to indicate that there should be room for the tab bar -- this does nothing. I have also manually changed the size of the XIB - but when it's used by the navigation controller, it fills the entire screen.
Does using UINavigationController require that it consume the entire screen?
Pointers appreciated.
|