[
https://issues.apache.org/jira/browse/CB-4323?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13766726#comment-13766726
]
Shazron Abdullah commented on CB-4323:
--------------------------------------
Tested on device, same results as the iPad simulator. Next step is to recommend
these two attributes to be removed from the default app index.html, and add
this as an advisory note for upgrading to iOS 7.
> 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
> Components: iOS
> Affects Versions: 2.7.0, 2.8.0, 3.0.0
> Environment: ios7 ipad, app must only target iphone, not ipad
> Reporter: Tom Wilson
> Assignee: Shazron Abdullah
> Priority: Critical
> Labels: ios7
> Fix For: 3.1.0
>
>
> 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