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

Viewport inconsistency between iOS8 and iOS9

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 4.0.0
    • None
    • cordova-ios
    • Xcode 7
      iPhone 5 iOS8.4 Simulator
      iPhone 5 iOS9.0 Simulator

    Description

      1. Enable viewport scaling using the following config.xml preference:
      <preference name="EnableViewportScale" value="true" />
      2. Set viewport width to device-width:
      <meta name="viewport" content="user-scalable=no, width=device-width, target-densitydpi=device-dpi" />
      3. Launch app, and rotate device to trigger rescaling
      4. Scale in iOS8 result different than in iOS9

      Attachments

        1. Simulator_iPhone5_iOS9.png
          140 kB
          Manuel Martiarena
        2. Simulator_iPhone5_iOS8.png
          197 kB
          Manuel Martiarena

        Issue Links

          Activity

            People

              Unassigned Unassigned
              martias0 Manuel Martiarena
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: