Status Bar During App Showing Default.png - iphone

I believe this is trivial, but I can't for the life of me, figure this out.
My app has a Black Translucent Status bar. However, when executing the app
(where Default.png is showing), the status bar shown is just a basic grey color.
I want this to be Black Translucent as well.
How?
Thanks

in your info.plist add a Status bar style with value UIStatusBarStyleBlackTranslucent.

Related

Apple Watch: Hide Status Bar from interface controller

For my app it makes no sense to have the current time on the right corner of the screen and the black status bar as well.
Is there any way to corner this?
There isn't an API for controlling the visibility of the status bar in WatchKit.

iOS 7 status bar color during push animation.

My app has a solid gray navigation bar, and to fit with the iOS 7 design, want the status bar to be the same color.
To do this, I've set edgesForExtendedLayout = UIRectEdgeNone and extendedLayoutIncludesOpaqueBars = YES and have View controller-based status bar appearance set to YES in my plist. To create the gray color for the status bar, I've set the background color of my MainWindow to be the gray color. This works well except when there's a push or pop animation. During the animation, the status bar flashes color and looks like it has double the intensity of gray. When the animation ends, it changes back to the correct gray color.
Does anyone know what might be happening? Should I be setting the status bar color to match the navigation bar color differently?
Are you using an background image or a tint color to set the background of the navigation bar?
If you use a background image (which it sounds like since you have a solid gray background), you need to make sure it is 64 points tall (128 pixel in retina). If you use the old iOS 6 dimensions (44 points), iOS 7 will fall back and not have it include the status bar.
For details of this behavior, check out Table 5-1, "Treatment of resizable background images for bars at the top of the screen" in the iOS 7 transition documentation.
Also, if this is the case you shouldn't need to set the edgesForExtendedLayout, extendedLayoutIncludesOpaqueBars and View controller-based status bar appearance. You might need it for other stuff - but not for this.
If you want to still support iOS 6, you need to have two different background images, one of iOS 7 and above and a legacy version of iOS 6 and below. That should get you the effect you are looking for.

how to resize window with status bar in landscape mode

I have a window that is in landscape mode. I have shifted my statusbar in landscape mode but the area where my statusbar was is still left white. I need to remove my window so that the area is filled. Can anyone help?
If you're using Interface Builder, set the Status Bar attribute to None in your view (under Simulated Metrics in the Inspector), and it will stop believing it has a status bar. I don't know if this is the specific problem you're having without further information, but this has been the cause of white status bar areas for me in the past.

iPad style navbar on iPhone app

Hey, on iPad the navigation bar is normally silver and on the iPhone it's normally blue. Is there any easy way to make the silver navbar on iPhone app?
Thanks!!
If you just want to change the color of your navigation bar, the easiest way to do this would be to add your navigation bar in IB, then click on the navigation bar's attributes panel. Change the tint color to whatever color you would like in there and it will show up accordingly on your app. Similarly, if you are adding the navigation bar programmatically, you should be able to set the tint color yourself with something along the lines of myNavBar.tintColor = [UIColor someColor];. I hope this helps.
As of iOS 5 this can be easily achieved without any manual tinkering. Read this up.

Black status bar turns white when quitting iPhone app

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?
Set the background color of your window to black.
[self.view.window setBackgroundColor:[UIColor blackColor]];