tags:

views:

1119

answers:

3

I gave my iPhone app a black status bar by adding the UIStatusBarStyleOpaqueBlack / UIStatusBarStyle to the Info.plist file. It works great most of the time. The black status bar shows when the app is running and when the Default.png is being shown.

The issue is when I quit the app by pressing the home button, the status bar becomes a white block while the iPhone's standard quit animation is taking place. I haven't seen this issue with any other apps that use a black status bar.

Am I missing something?

A: 

This sound like a bug to me. Even if your application was misbehaving, the iPhone OS should not be affected when your application is not running anymore.

Panagiotis Korros
+6  A: 

Set the background color of your window to black.

[self.view.window setBackgroundColor:[UIColor blackColor]];
rpetrich
This works. Thanks.
Brandon Walkin
Kind of obvious in hindsight! Thanks for the solution.
Stephen Darlington
A: 

Hello,

I have the same problem but with my complete app; by quitting the app the display became white....

Denis

Denis