By default the launch screen provides a status bar. Is it possible to hide the status bar in launch screen like a Twitter app ( iOS ).
Asked
Active
Viewed 2,993 times
2
-
3In Your Info.plist add: `Status bar is initially hidden YES` – Rocky Feb 10 '18 at 08:23
-
@Rocky Thanks for your help! It's just works. – Mannopson Feb 11 '18 at 02:37
-
@Rocky It's should be the answer not the comment. – Mannopson Feb 11 '18 at 07:31
-
1added as answer with additional detail :) – Rocky Feb 12 '18 at 06:00
1 Answers
10
To Hide Status Bar initially on launch screen, set Hide status bar
check mark on ✓
OR
In Your Info.plist add: Status bar is initially hidden
YES
.
The above both option having same impact.
Additionally
To Hide Status Bar on specific ViewController override
prefersStatusBarHidden
with true
override var prefersStatusBarHidden: Bool{
return true
}

Rocky
- 2,903
- 1
- 22
- 26
-
The first option is useless. :) Second one is works perfectly. Thanks! – Mannopson Feb 12 '18 at 06:01
-
2The first one is useful too, but you need to look for it in `AppTarget -> General -> Deployment` Info (not in the storyboard) – Voyteck Sep 04 '19 at 18:36