To hide the status bar in iPhone, edit the Info.plist of your application by adding the below key.
<key>UIStatusBarHidden</key>
<true />
or programmatically hide or show the status bar by invoking:
[[UIApplication sharedApplication] setStatusBarHidden:YES animated:NO];