Tuesday, August 3, 2010

How to adjust height of Status bar or Hide the status bar...


//Set height
[UIHardware _setStatusBarHeight:0.0f];

//Set for a limited time
[self setStatusBarMode:2 duration:0.0f];

//hide status bar
[self setStatusBarHidden:YES animated:NO];