[
https://issues.apache.org/jira/browse/CB-1465?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13457512#comment-13457512
]
Shazron Abdullah commented on CB-1465:
--------------------------------------
Found the bug, it's in this line:
https://github.com/apache/incubator-cordova-ios/blob/cb33d9ffad9cf0096de8d9ceb4f98ea0b5cb98dc/bin/templates/project/__TESTING__/Classes/MainViewController.m#L55
viewWillAppear is called after the ChildBrowser is dismissed
> WebView too small after closing of a ChildBrowser in landscape orientation
> --------------------------------------------------------------------------
>
> Key: CB-1465
> URL: https://issues.apache.org/jira/browse/CB-1465
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Affects Versions: 2.1.0
> Environment: iOS devices or simulators with iOS 5 or 6
> Reporter: Jochen Magnus
> Assignee: Shazron Abdullah
> Labels: ChildBrowser, Orientation
> Fix For: 2.2.0
>
> Attachments: index.html, screenshot-1.jpg
>
>
> After closing the Childbrowser view in landscape orientation, the main
> webView remains too small. The width seems to be the device with in portrait
> orientation.
> The problem occurs since Cordova version 2.1.0.
--
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