Search code examples
iosipadios7statusbar

Status bar on iPad with iOS 7 (iPad/iPad mini)


I have an application where I present an UIImagePickerController and I need to hide the status bar. The method I use to hide it works on iOS devices with 6.X OS and on iPhone/iPod Touch with 7.0, but the status bar is still visible on iPad/iPad mini devices with 7.0 OS.

Can someone tell me the reason why is not working on iOS 7.0 iPad devices?


Solution

  • Add this to your Plist file:

    UIViewControllerBasedStatusBarAppearance and set it to NO

    and

    UIStatusBarHidden and set that one to YES