Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-5785

Status bar is initially transparent during startup

    XMLWordPrintableJSON

Details

    Description

      Not sure if this is a bug, but when you first launch an iOS app with the status bar set to not overlay the web view, the status bar is briefly transparent, before it gets its background color.

      Create a new project using the CLI, and install the splash screen and status bar plugins. Set the following in config.xml:

      <preference name="AutoHideSplashScreen" value="false" />
      <preference name="StatusBarOverlaysWebView" value="false" />
      <preference name="StatusBarBackgroundColor" value="#000000" />

      When you first run the app, the status bar will be briefly transparent, overlaying the top of the splash screen. Then it will become black. See attached movie for an example.

      Attachments

        1. statusbar.mov
          613 kB
          Jacob Weber

        Activity

          People

            jcesarmobile jcesarmobile
            jweber Jacob Weber
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: