You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Shazron Abdullah (JIRA)" <ji...@apache.org> on 2013/09/13 20:53:51 UTC

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

     [ https://issues.apache.org/jira/browse/CB-4323?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shazron Abdullah resolved CB-4323.
----------------------------------

    Resolution: Fixed

Ok, we don't know what the effects of removing it will be unless we do tests everywhere (especially the other platforms). For the 3.1 release, we will do two things:

1. Add a note in the HTML regarding this issue (above the meta tag viewport)
2. Add a note in the Upgrading Docs

I will create two issues regarding this and link it here, and resolve this issue.
                
> 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