iOS Swift 4 Coding

How to hide launch screen status bar in your iOS app with Xcode?

1 views September 22, 2018 September 21, 2018 bicobro 0

To hide the statusbar when the launch screen is shown in your iOS app you have to add the following to the info.plist file of your project. This will make the status bar completely disappear when the launch screen is shown.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    ...
    <key>UIStatusBarHidden</key>
    <true/>
    ...
</dict>
</plist>

Was this helpful?