views:

779

answers:

1

i have a iphone application where i use image pickerview for select the photo from iphone photo library.In Info.plist file i use statusbar hidden. In iphone OS 2.2.1 statusbar are not show.But when i debug this application in iphone OS 3.0 then statusbar are shows.But not at the beginning shows when i call imagepickerview for select photo.What can i do for statusbar hidder in iphone OS 3.0.

+2  A: 

Try this code:

[[UIApplication sharedApplication] setStatusBarHidden: YES animated: NO];
David Wong
Hi,David your code is not working.I use this before but it's not working on iphone OS 3.0 when i call imagepickerview.That time show the statusbar hidden.
Rana