how to resize window with status bar in landscape mode - iphone

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.

Related

IPhone Simulator - label misaligned

I have a label sitting on the the top of screen in a tab bar controller app. When I align it to the top of the screen in Interface Builder (IB for short) and then run it, the label is about 20 pixels higher in the simulator - cutting off half the label or so. I have only seen this behaviour in tabbed apps. I have played with all the align, view mode settings without success and there is no custom drawing code.
Any ideas on why label is misaligned in simulator?
I have attached screen shots of IB (left - OK) and simulator (right - bad):
Thanks,
Serge
I guess , you are facing problem because of the following reason.
Since Tab area occupies some height from bottom,You have design your view such that top of the label should align with the top of the screen(like label should start by leaving some space (20px something) at the top).
Thanks to PJR above for giving the hints. The trick is to setup the 'simulated metrics' of both tab bar controller and each of its first view controllers.
1) The tab bar controller --> simulated metric.bottom bar should be set to none
2) All view controller --> All simulated metric props set to 'inferred'.
I have provided screen shots for a fresh tabbed project created in Xcode 4.3.1 which show what needs to be done.

Status Bar During App Showing Default.png

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.

Detect iphone internet sharing bar visibility

on the iphone, when internet sharing is activated and another device is connected, a bar appear under the status bar. It makes the current view of the active app go down for some more 20 pixels.
I'd like to rearrange controls in my view when this new bar appears.
How can i detect when it becomes visible?
These other SO questions should point you down the right path:
How to position view below green bar during phone call?
Resize for in-call status bar?

hide status bar in landscape mode leave a blank space when rotating

My application support to display some screen in landscape mode, and in landscape mode, I set to hide the status bar to get mode space to display data.
The problem is while hiding the status bar and rotate screen, it leave a white pace at status bar position until the screen is rotated completely as below screenshot.
I guess that steps of operations when rotating screen are:
1. hide status bar
2. rotate screen
3. resize screen to take place of status bar.
So until the screen is rotated completely, user still can see the white space, it is not good and I want to do something such as: set color for that blank space to black, or set animation to hide that blank space but unlucky!
So, does anyone have solution to resolve this, please help me, thanks a lot!
you should make the size of view 320 * 480. as you might have hidden the statusbar but the size of view will be 320 * 460(default)
Check out this one.

UIImageView displays white in place of the status bar

I have set the statusbar to unspecified in IB.
On the app start up the space where the status bar was is white, not allowing my image to fill the screen.
When I return to that View after selecting back from another view. The image is full and he white bar is gone.
Do I have to set the status bar to hidden in the code as well as in IB, or is that set in the info.plist file?
try adding UIStatusBarHidden to info.plist set it to bool en enable it..