2

I have inherited UITableViewController, I want status bar either hide or make it in white color so that I can see it, as its of black background in that tableview.

It looks like

Image of Status Bar

It would be either of white colour for only this controller, or hide totally.

Duaan
  • 609
  • 1
  • 13
  • 29

1 Answers1

1

Implement this method in your ViewController

-(BOOL)prefersStatusBarHidden
{
    return YES;
}

and call this method where you want at your ViewController.

[self prefersStatusBarHidden];
Mutawe
  • 6,464
  • 3
  • 47
  • 90