[
https://issues.apache.org/jira/browse/CB-3456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13665331#comment-13665331
]
Josh Dean commented on CB-3456:
-------------------------------
A-HA! Found this bit of code leftover in our MainViewController.m file's
viewWillAppear method:
// Set the main view to utilize the entire application frame space of the
device.
// Change this to suit your view's UI footprint needs in your application.
self.view.frame = [[UIScreen mainScreen] applicationFrame];
This seems to have all but removed from 2.1 to 2.5. Removing this fixes the
offensive error altogether.
> InAppBrowser Causing Viewport Issues on iPad
> --------------------------------------------
>
> Key: CB-3456
> URL: https://issues.apache.org/jira/browse/CB-3456
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Affects Versions: 2.5.0
> Environment: iPad 6.1
> Reporter: Josh Dean
> Assignee: Shazron Abdullah
>
> Pretty much what was described here
> (https://issues.apache.org/jira/browse/CB-3065?focusedCommentId=13635379&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13635379),
> except on 2.5:
> In landscape mode on iPad, when opening the InAppBrowser in landscape mode,
> the moment you close the InAppBrowser the viewport of the app switches to
> portrait mode. I can't make heads or tails of it.
> For reference: here is my viewport meta tag:
> <meta name="viewport" content="width=device-width, initial-scale=1.0,
> maximum-scale=1.0, user-scalable=no" />
> Images showing the issue visually here: http://imgur.com/a/KJMST
--
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