phonegap/phonegap-iphone — Issue #319: Status bar style ignored when returning from PhoneGap ImagePicker in iOS5
Author: collingo
Created: 2011-10-18 10:18:29+00:00
State: open

I have been developing an app which uses the camera.getPicture API to retrieve an image from the phone's camera roll. Since upgrading to iOS5 I have been seeing some funny behaviour with the status bar.

I have set "Status bar style" to be "Opaque black style" in the app's plist but after closing the camera roll ImagePicker it reverts back to the default grey. Has anyone else seen this? It's not a deal breaker but it is affecting the consistency of the UI.

The obvious workaround is to just set the Status bar style to the grey one. This is not a long term solution for us as it jars against the rest of our UI and Apple's UI Element Guidelines recommend against using inappropriate styles (http://developer.apple.com/library/ios/#DOCUMENTATION/UserExperience/Conceptual/MobileHIG/UIElementGuidelines/UIElementGuidelines.html).

I understand the camera.getPicture API was deprecated in PhoneGap version 0.9.6 but that was retracted in version 1.0 due to no library support in the capture API.

I am using PhoneGap 1.0.0.