Hiding/Showing Status Bar
<p>I'm developing an iPhone app that switches from a table view to a landscape fullscreen view (similar to the YouTube app). When it does so, I want to hide the status bar, then display it again when switching back to the table view. I'm using setStatusBarHidden but that just seems to hide the status bar wihout enlarging the screen area; there's still a blank bar where the status bar was. If set the hidden status bar property in Info.plist then I get the enlarged screen area but when the status bar displays it overlays the view.</p>

<p>How do I hide the status bar in such a way that the full screen is available to my view when it's hidden and only the screen under the status bar when it's displayed?</p>

<p>TIA. </p>

<p>Craig </p>

<p>PS: I copy/edit this question from app discussion. do not find good solution
<a href="http://discussions.apple.com/thread.jspa?threadID=1580662&amp;start=15&amp;tstart=0">http://discussions.apple.com/thread.jspa?threadID=1580662&amp;start=15&amp;tstart=0</a></p>
