title: how to hide status bar in Iphone application
body: <p>how to hide status bar .</p>
  
  <p>in sdk 3.1 or lower version it is possible by adding this code in </p>
  
  <pre><code>- (void)applicationDidFinishLaunching:(UIApplication *)application{
  
  [application statusBarHidden:TRUE];
  </code></pre>
  
  <p>}</p>
  
  <p>but in 4.1 this method is not available in delegate class. i can see some site like this </p>
  
  <pre><code>[[UIApplication sharedApplication] setStatusBarHidden:YES animated:YES];
  </code></pre>
  
  <p>it is also not working.
  any body know that  how it will possible in iPhone sdk 4.1 ?</p>
  
  <p>thanks and regards..</p>