4

I've followed the instructions here On iOS8, displaying my app in landscape mode will hide the status bar but on iOS 7 the status bar is displayed on both orientations

i.e. set status bar hidden in plist and adding:

[[UIApplication sharedApplication] setStatusBarHidden:YES withAnimation:UIStatusBarAnimationNone];

but am still unable to hide the Status bar. Any further suggestions?

Community
  • 1
  • 1
Snowcrash
  • 80,579
  • 89
  • 266
  • 376

1 Answers1

0

Select the view controller for which you have hide the status bar and set the status bar parameter to NONE as given in the image below:

enter image description here

Karlos
  • 1,653
  • 18
  • 36