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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • None
    • None
    • 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

            Unassigned Unassigned
            hoang.nguyen Ngoc Hoang Nguyen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: