0

Could anyone tell me how to hide StatusBar in the course of launching and show it again after the launching?

Thomas Bormans
  • 5,156
  • 6
  • 34
  • 51

3 Answers3

0

Its very simple, set Status bar is initially hidden YES in Info.plist file and also Make sure your not set View controller-based status bar appearance in info.plist file

Mobile Dev
  • 120
  • 6
0

Set the UIStatusBarHidden to true or false in the info.plist in order to show or hide the status bar when launching.

<key>UIStatusBarHidden</key>
<true/>
rockdaswift
  • 9,613
  • 5
  • 40
  • 46
0

set this in your info plist file.enter image description here

Amit Thakur
  • 1,081
  • 12
  • 14