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

Mockup & CodeGen, iPhone & iPad
($9.99)

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

Manu
($0.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 08-22-2009, 08:54 PM   #1 (permalink)
Registered Member
 
DenVog's Avatar
 
Join Date: Jan 2009
Location: Silicon Valley, USA
Posts: 622
Question Unwanted Toolbar in 3.0 Build

I have a NavController in a TabBar application. When I build for 3.0, it is adding a Toolbar to the bottom of the screen (just above the Tabs). I guess it's not hurting anything, but I don't really want it, or know how it got there.

This does NOT show up when I build for 2.0. Same behavior on both the simulator and devices.

Can anyone confirm that they're seeing the same thing, or offer insight to whether this is intended behavior change from 2->3?

Thank you.
DenVog is offline   Reply With Quote
Old 08-22-2009, 09:21 PM   #2 (permalink)
Emphasizing Fundamentals
 
BrianSlick's Avatar
 
Join Date: Jul 2009
Location: NoVA / DC Area
Age: 36
Posts: 7,129
Default

Navigation controllers picked up a toolbar property in OS 3.0. You'll want to set it hidden.
__________________
BriTer Ideas LLC - Code review, consulting, development. PM for pricing.

SlickShopper 2 | Free NSLog utility | Leave a PayPal donation.

Are you a newbie? Things you should read:
BrianSlick is offline   Reply With Quote
Old 08-22-2009, 10:05 PM   #3 (permalink)
Registered Member
 
DenVog's Avatar
 
Join Date: Jan 2009
Location: Silicon Valley, USA
Posts: 622
Default

Quote:
Originally Posted by BrianSlick View Post
Navigation controllers picked up a toolbar property in OS 3.0. You'll want to set it hidden.
A-ha! That put me on the right track. Not sure if this is the correct way to address it, but the following got the desired result.
Code:
#ifdef __IPHONE_3_0
	[self.navigationController setToolbarHidden:YES];
#else

#endif
Thank you.
DenVog is offline   Reply With Quote
Reply

Bookmarks

Tags
toolbar

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: 269
20 members and 249 guests
@sandris, AdamL, ADY, Dani77, diyora, FAED, F_Bryant, GHuebner, HDshot, headkaze, mer10, Oral B, prchn4christ, Rudy, smithdale87, Thompson22, timle8n1, Touchmint, twerner, vigu360
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,880
Threads: 89,228
Posts: 380,749
Top Poster: BrianSlick (7,129)
Welcome to our newest member, @sandris
Powered by vBadvanced CMPS v3.1.0

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