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 06-22-2008, 03:28 PM   #1 (permalink)
Registered Member
 
Join Date: Apr 2008
Posts: 121
Default Status Bar Not Hiding

Hi,

I'm having a problem where my application isn't hiding the iPhone status bar correctly. The application was built on SDK 7 using the "View Based Application" template in XCode. Both the window and view controller .xib attributes show "None" for "Status Bar" inside IB AND there is a flag in my Info.plist labeled "UIStatusBarHidden" which is set to "true".

However, even with all of this when the application starts up ( both in the Simulator and on the device ) the grey iPhone status bar is visible.

Any ideas? Thanks!
RegularKid is offline   Reply With Quote
Old 06-22-2008, 11:58 PM   #2 (permalink)
Registered Member
 
Groucho's Avatar
 
Join Date: Jun 2008
Posts: 161
Default Re: Status Bar Not Hiding

Is the "Value Type" of the UIStatusBarHidden line in your Info.plist set to Boolean? If so, you should see a checkbox in the Value column to the right of UIStatusBarHidden.

To set it, right click on UIStatusBarHidden (in Xcode while viewing Info.plist) and select Value Type/Boolean.

If you're editing your plist file by hand, the field should be <true />, not <key>TRUE</key>.

It sounds like you're doing everything right though.
__________________
Bryan Duke
acceleroto.com

Groucho is offline   Reply With Quote
Old 06-23-2008, 01:21 AM   #3 (permalink)
Registered Member
 
Join Date: Apr 2008
Posts: 121
Default Re: Status Bar Not Hiding

Ah! Genius Yup, wasn't set to be boolean type.

Thanks, Groucho!
RegularKid is offline   Reply With Quote
Old 06-25-2008, 12:05 AM   #4 (permalink)
Registered Member
 
Groucho's Avatar
 
Join Date: Jun 2008
Posts: 161
Default Re: Status Bar Not Hiding

I spent an hour one day pounding my head against the wall to figure that out.
__________________
Bryan Duke
acceleroto.com

Groucho is offline   Reply With Quote
Reply

Bookmarks

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to: Change Color/Style of the iPhone Status Bar seanhelmes iPhone SDK Development 8 01-05-2010 05:54 PM
Disabling the top status bar for an application Chris Stewart iPhone SDK Development 16 11-02-2009 11:13 AM
Dynamically hiding tab bar in UITabBarController? bonehead iPhone SDK Development 8 04-24-2009 11:40 AM
Can't change the color of the status bar mkroll iPhone SDK Development 2 08-06-2008 03:21 PM


» Advertisements
» Online Users: 249
18 members and 231 guests
ADY, Alsahir, beleg_1998, Dani77, e2applets, iDifferent, iph_s, JamesCahall, JasonR, mer10, Monstertaco, prchn4christ, Promo Dispenser, Robiwan, Rudy, smithdale87, spiderguy84, timle8n1
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,880
Threads: 89,228
Posts: 380,756
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 01:17 PM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0