How can I hide the status bar in iphone OS 3.0?

I have an iphone application where I am using pickoveriew to select a photo from the iphone photo library. In the Info.plist file, I am using a hidden status bar. The status bar of iphone OS 2.2.1 is not displayed. But when I debug this application in iphone OS 3.0 then the status bar is displayed. But not at the beginning shows when I call imagepickerview to select a photo. What can i do to hibernate in iphone OS 3.0.

0


a source to share


1 answer


Try this code:



[[UIApplication sharedApplication] setStatusBarHidden: YES animated: NO];

      

+3


a source







All Articles