You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Tom Wilson (JIRA)" <ji...@apache.org> on 2013/07/19 19:02:49 UTC

[jira] [Created] (CB-4323) IOS 7, target iphone, install on ipad, window height and width are of ipad, not the iphone

Tom Wilson created CB-4323:
------------------------------

             Summary: IOS 7, target iphone, install on ipad, window height and width are of ipad, not the iphone
                 Key: CB-4323
                 URL: https://issues.apache.org/jira/browse/CB-4323
             Project: Apache Cordova
          Issue Type: Bug
         Environment: ios7 ipad, app must only target iphone, not ipad
            Reporter: Tom Wilson


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() 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira