I can't for the life of me change the status bar text color to white on the iPhone.
I've tried both:<meta name="apple-mobile-web-app-status-bar-style" content="black">and<meta name="apple-mobile-web-app-status-bar-style" content="white">
I'm loading this from a simple Xcode project with a web view and also fiddled with settings there, but the font always shows black.
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
iOS7 no longer works like iOS6.
Here is a link explaining in detail the issue with the iOS7 status bar: http://stackoverflow.com/questions/19071414/change-the-color-of-the-ios-7-status-bar-in-safari-and-chrome
"Any other content value such as white doesn't work and default behavior is exhibited."
Thanks Alex, still no luck. Maybe it doesn't work with WebViews or something? But what's strange is even if I don't put the tag and load my Xcode project with status bar set to Light or Default, I still get black text.
Does this help?
"So I realized that the code pushes the UIWebView down 20px. Meaning that the white space by definition cannot be UIWebView. The white space is the main view which I changed the background color by doing the following:"
If you change the background color of the main view to Black then maybe the text will display as white when using black translucent?
Thanks for your help Alex! I'll give it a try when I have a bit more time to fiddle with Xcode, I'm still learning it so those instructions will need some figuring out.Thanks again!
wait? you are building an xcode app and want to change the status bar color to white? a meta tag wouldn't do it for you — you have to call the API directly: http://stackoverflow.com/questions/17678881/how-to-change-status-bar-text-color-in-ios-7
… or this answer without writing code: http://stackoverflow.com/a/18732865/3995506