Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Interface 2, Advanced iOS
Mockup & Code Gen
($9.99)

Make your own iPhone apps
and run them live!
(free)

Pic Frame Dynamo: Photo Editing
($0.99)

Abiliator
($1.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum > iPhone SDK Development Forums > iPhone SDK Development

Reply
 
LinkBack Thread Tools Display Modes
Old 01-18-2011, 04:45 PM   #1 (permalink)
Registered Member
 
Join Date: Jan 2011
Posts: 1
gkopff is on a distinguished road
Default 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.
gkopff is offline   Reply With Quote
Old 01-18-2011, 06:26 PM   #2 (permalink)
Registered Member
 
Join Date: Apr 2010
Posts: 651
kapps11 is on a distinguished road
Default

whenever you use a tabbar and a navbar together, the navigation controller should always be added as a SUBVIEW of the tabbar's view
kapps11 is offline   Reply With Quote
Reply

Bookmarks

Tags
uinavigationcontroller, uitabbar

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



» Advertisements
» Online Users: 368
13 members and 355 guests
7twenty7, blueorb, dre, iAppDeveloper, jeroenkeij, Mah6447, Morrisone, mottdog, sacha1996, Sami Gh, stanny, toon4413, Touchmint
Most users ever online was 1,387, 04-10-2012 at 04:21 AM.
» Stats
Members: 175,667
Threads: 94,120
Posts: 402,898
Top Poster: BrianSlick (7,990)
Welcome to our newest member, host number one
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 03:40 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0