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

[iOS] [status-bar] _statusBarBackgroundView is pushed down

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      Hello, Ionic community.

      Currently, we use the cordova-plugin-statusbar  to interact to status bar on the iOS.

      As we see in the source code of the plugin, there is an item is _statusBarBackgroundView that can make a color for the status bar.

      Our Ionic app has another native plugin for scanning document. When we are on the native plugin, turn on the hotspot of the iPhone device, the status bar's height on the iPhone device (except iPhone X) increase 20pt, then we close the native part and navigate back to the Ionic, somehow the _statusBarBackgroundView’s frame is incorrect, it's pushed down 20pt.

      Do you have any experience on this issue, and could you please share us some solution? Thank you!

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              hoang.nguyen Ngoc Hoang Nguyen
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: