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

WKWebView doesn't layout properly at launch on iPhone X

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: cordova-ios@4.5.4
    • Fix Version/s: None
    • Component/s: cordova-ios
    • Labels:
      None
    • Environment:

      Mac

      Cordova 8.0.0

      codova-plugin-wkwebview-engine 1.1.4

      Description

      WKWebView doesn't seem to layout properly at launch.  There is a black bar at the bottom of the view.  If I rotate the app to landscape mode, the view automatically resizes correctly and occupies the entire screen.  Then when I rotate back to portrait mode, it works correctly and occupies the entire screen as expected.  But at launch this is not happening.  It should occupy the entire screen at that point without having to rotate back and forth.

        Attachments

        1. TestApp2.zip
          18.57 MB
          Kamal Kalra

          Activity

            People

            • Assignee:
              surajpindoria Suraj Pindoria
              Reporter:
              kamalkalra Kamal Kalra
            • Votes:
              3 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: