How to hide iOS status bar

Solution 1:

You should add this value to plist: "View controller-based status bar appearance" and set it to "NO".

enter image description here

Solution 2:

Add the following to your Info.plist:

<key>UIStatusBarHidden</key>
<true/>
<key>UIViewControllerBasedStatusBarAppearance</key>
<false/>

Image