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];

2 comments:

  1. Hi Vivek it is not Working instead of that i got some errors.

    Could you plz give me some solution

    ReplyDelete
  2. Hi Vivek it is not Working instead of that i got some errors.

    Could you plz give me some solution

    ReplyDelete