How can I make a view get bigger again, as soon as the status bar goes back to normal height after a
Posted
by Thanks
on Stack Overflow
See other posts from Stack Overflow
or by Thanks
Published on 2009-05-13T15:42:52Z
Indexed on
2010/06/05
17:02 UTC
Read the original article
Hit count: 165
In the simulator I went to Hardware menu and activated the simulation of bigger status bar during phone call.
Now, I tried to make a view in my nib that takes up the whole screen. As soon as the status bar gets smaller, I want my view to get bigger, so it uses that space up there.
But regardless of any autoresizing settings, my view will keep pressed down after that status bar gets smaller. There is a empty slot left where the status bar was after hanging up the call.
What's that actually supposed to be? Is my app recognizing the status bar as a view, or is the status bar indeed making my screen smaller? I mean...does it mess around with my views as if it was a view itself, or do my views not know about a status bar, but about a smaller screen size when the status bar gets bigger?
How do you get your views big again when the status bar returns to normal height?
© Stack Overflow or respective owner