Statusbar Colors iOS7 iPad WebApp - ipad

I've got an iPad WebApp with a white Background. When launching it in fullscreen mode, the iOS statusbar is fully transparent, so its white. Problem is, the Text on it is also white. So you can't read a thing in that statusbar (except for the batteryicon, because its green inside).
Is there any way to change the statusbars' textcolor (eg to black)?

In yourapp-Info.plist add:
Status bar is initally hidden: NO
Status bar style: UIStatusBarStyleBlackOpaque (for black text color)
View controller-based status bar appearence: NO

Related

navigation bar and tabor does not change his color when switching dark and light mode

I want to change my app interface to light mode.
I implemented following code on all ViewControllers:
overrideUserInterfaceStyle = .light
When I switch to dark mode, the navigation bar and tab bar change his color to black. The rest is still white as it should be. The following image is dark mode on.
I added in the Info.plist User Interface Style to light. Now it's working fine.

Is it possible to change the status bar text color?

I am making a dark theme for my app, where all the background is black and text and controls are orange. I also want the status bar to correspond to this theme, but .lightContent option, which is designed for dark backgrounds, returns white text color. I was wondering if it's at all possible to make status bar text something other than black or white (orange, in my case)?
It is not possible to change the status bar's text color as the apple provided only two colors for displaying status bar text which is white and black.
To display white text add the following stuff to your project Info.plist
View controller-based status bar appearance = false
Status bar style = Transparent black style (alpha of 0.5)
To display black text add the following stuff to your project Info.plist
View controller-based status bar appearance = false
Status bar style = Gray style (default) OR Opaque black style

Force dark status bar text color on splash screen iOS 8

My project's plist file has a flag View controller-based status bar appearance = NO (this is required by my app specifics).
And I tried to set Status bar style to Gray style (default) and Opaque black style.
But in both cases I get a white status bar text and so it's invisible on a white splash screen.
Is there any way to force the status bar text to black color on splash screen?
I've searched through the other questions like this, but found only setting the status bar text color to white:
Changing the status bar text color in splash screen iOS 7.
And the solution proposed there doesn't seem to work for setting the color to black, at least for iOS 8.
Any help is appreciated.
In the General Project Settings screen, there is a "Hide Status Bar" option. Please be sure that it is unchecked.
After that, open the LaunchScreen.xib file and select the view, in the Simulated Metrics section, if you select Default, it should show black status bar.
Result:

Status bar color is different to UINavigationBar color

I have a custom UINavigationBar which I am using to remove the gradient of the navbar in iOS 6. Though the color of the status bar is equal to the color of the screen opposed to the color of the bar
Is there a way to make them the same color or at least make the status bar black. My problem is in ios7.
Also if I change the style of the UINavigationBar translucent to NO like this:
self.navigationController.navigationBar.translucent = NO;
Then the status bar goes completely black with no writing on it.
In your project info plist, change UIViewControllerBasedStatusBarAppearance value, if there is no, then add this key.

UIDocumentInteractionController - Change background Color and prevent status bar popup

When I use the UIDocumentInteractionController it's background color is always white in the beginning and when I tap it, it gets black (and back when tapped again).
Can I somehow invert this or even set a custom background color for both modes?
Another interesting bug is that once I touch the screen the status bar (which I have disabled) pops back up. So white screen with document --> tap screen --> black background with status bar --> tap white screen withs status bar.
Once I dismiss that UIDocumentInteractionController, I disable the status bar again but it looks really ugly.
I've got the info.plist set up correctly with UIViewController-wise decided status bar appearence set to NO.

Resources