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

IOS 7, target iphone, install on ipad, window height and width are of ipad, not the iphone

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 2.7.0, 2.8.0, 3.0.0
    • Fix Version/s: 3.1.0
    • Component/s: cordova-ios
    • Labels:
    • Environment:

      ios7 ipad, app must only target iphone, not ipad

      Description

      IOS 7, target iphone, install on ipad, window height and width are of ipad, not the iphone.

      See screen shot, the window height and width are 1080x768 and they should be the iphone size. This causes the window to overlap the iphone container screen.

      This is only present in ios7, ios6 works fine.

      Screenshot...

      http://i.imgur.com/zIJNetJ.png

      See window height and width calculations from $("body").height() and $("body").width()

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                shazron Shazron Abdullah
                Reporter:
                tom.wilson@alpinemetrics.com Tom Wilson
              • Votes:
                0 Vote for this issue
                Watchers:
                9 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: