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

VotersWatch issueWatchersLinkUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.7.0, 2.8.0, 3.0.0
    • 3.1.0
    • cordova-ios
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment