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/10/05 01:06:41 UTC

[jira] [Created] (CB-4999) Cordova UIWebView is 20px too tall on iOS 6

Shazron Abdullah created CB-4999:
------------------------------------

             Summary: Cordova UIWebView is 20px too tall on iOS 6
                 Key: CB-4999
                 URL: https://issues.apache.org/jira/browse/CB-4999
             Project: Apache Cordova
          Issue Type: Bug
          Components: iOS
    Affects Versions: 3.1.0
         Environment: iOS 6.1
            Reporter: Shazron Abdullah
            Assignee: Shazron Abdullah
             Fix For: 3.2.0


To see, create a new 3.1.0 project try this code in iOS 6:

{code}
<body>
<span style="position:absolute;top:0">top</span>
<span style="position:absolute;bottom:0">bottom</span>
</body>
{code}

Expected:
iOS 6 - UIWebView height is the correct size of the view -- whole window height minus the statusbar.

Actual:
iOS 6 - UIWebView height is whole window height.

Verified on the iOS 6.1. Simulator and an iPhone 5 with iOS 6.1.4.

This is not an iOS 7 SDK related problem - compiling under the iOS 6.1. SDK (in Xcode 4.6.3) shows the same bug.



--
This message was sent by Atlassian JIRA
(v6.1#6144)