Hide statusbar during splash screen

I'm trying to hide the statusbar during splash screen, which works fine when i add "Status bar is initially hidden" to plist and set value to YES, however this remove the statusBar from the enitre application, even though i've added "View controller-based status bar appearance" to plist and set value to NO and added following to appdelegate:

 UIApplication.sharedApplication().statusBarStyle = UIStatusBarStyle.LightContent 

How can i remove the statusBar initially without removing it in the rest of the application?

This is updated for Swift 3 of Xcode 8.3.3

In your Info.plist add the following key:

Then in your AppDelegate file add the following in didFinishLaunchingWithOptions section:

func application(_application:UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { 
      UIApplication.shared.isStatusBarHidden = false
      return true 
}

That should sort out your problem.

You can also configure the launch colour in your project Build Settings if this is a problem for you:

Hope that helps!

Hide statusbar during splash screen, But if you focus on the screen, you will find that while showing the splash screen, some part of the splash screen is hidden by the status bar. Would it be possible to give the user the ability to define the status bar behavior / style when the splash screen is displayed? bar during splash screen #11

In Swift 4 In Info.plist add:

Status bar is initially hidden YES

Hiding status bar while displaying splash screen in PhoneGap iOS , To hide the status bar while Splashscreen is Shown in IOS follow these Steps. 1. Open the Info.plist File. 2. Search for the "Status bar is initially� You can hide the status bar on Android 4.1 (API level 16) and higher by using setSystemUiVisibility(). setSystemUiVisibility() sets UI flags at the individual view level; these settings are aggregated to the window level.

In your Project Settings -> General-> Deployment Info, check "Hide status bar" field.

Next in your view controller override - prefersStatusBarHidden method, like this:

override func prefersStatusBarHidden() -> Bool {
   return false
}

How to hide the status bar while Splashscreen is Shown in IOS , I found that, If we hide status bar the issue will be fixed. Try 1. I thought to hide it in the first view controller, using. But this will� The Splash Screen plugin provides control options for displaying and hiding a splash screen, commonly during application launch. Preferences. You can add the following preferences in your config.xml: AutoHideSplashScreen (boolean, default to true). Indicates whether to hide splash screen automatically or not.

Just add the highlighted line into your Info.plist file and it'll work for Swift 4:

Fix issue of Launch screen display | by Elsayed Hussein, I'm trying to hide the statusbar during splash screen, which works fine when i add "Status bar is initially hidden" to plist and set value to YES, however this� Ionic is the app platform for web developers. Build amazing mobile, web, and desktop apps all with one shared code base and open web standards

In Swift 3

First Hide Status bar from Project->Target as following

then unhide status bar in didFinishLaunchingWithOptions

func application(_application:UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { 
      UIApplication.shared.isStatusBarHidden = false
      return true 
}

Hide statusbar during splash screen, something briefly shows the statusbar during the splash screen and only after i hide it, the Statusbar is set according to my settings. I have set the� I always struggle to remember the steps required in order to add a splash screen to a React Native app, and some tutorials out there are a bit outdated, so here is my take on the subject. This…

Splash Screen Messing Status Bar Color/Style � Issue #1761 � ionic , I dont want to show status bar while showing splash screen in ios and android ! how to do it ? The SplashScreen module tells the splash screen to remain visible until it has been explicitly told to hide. This is useful to do some work behind the scenes before displaying your app (eg: make API calls) and to animated your splash screen (eg: fade out or slide away, or switch from a static splash screen to an animated splash screen).

how to hide statusbar ? � Issue #105 � crazycodeboy/react-native , plist to hide the StatusBar on the Splash screen. <?xml version="1.0" encoding=" UTF-8"?>� Generate a splash screen that can transition seamlessly to your fake splash screen (e.g. just a solid colour) Set the splash screen so that it does not auto hide; Once the application has loaded, launch your fake splash screen page that contains the animation; Hide the real splash screen; After a set amount of time, dismiss the fake splash screen

let's see how to control the StatusBar in RN(React Native), Launch your game on Google Play � Create an Android App Bundle in Unity You can hide the status bar on Android 4.0 (API level 14) and lower by is the preferred approach if the status bar should always remain hidden in to set your activity layout to use the same screen area that's available when� I have created a sidemenu template application with Ionic 2. When I bootstrap the app, appear a splash screen and display white screen long time.

Comments
  • For ObjectiveC and Xcode 10 you can re-enable the StatusBar with UIApplication.sharedApplication.statusBarHidden = NO;
  • Setter for 'isStatusBarHidden' was deprecated in iOS 9.0: Use -[UIViewController prefersStatusBarHidden]
  • Works perfect for me
  • This solution seems closest. I just needed to check the "Hide Status Bar" as mentioned above and then this was not needed: override func prefersStatusBarHidden() -> Bool { return false }
  • error, use: override var prefersStatusBarHidden : Bool { return false } instead
  • guess they really want you to use UIViewController-based status bar