[
https://issues.apache.org/jira/browse/CB-1372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13458049#comment-13458049
]
will prater commented on CB-1372:
---------------------------------
device-height in the Cordova 2.1 html template, so it may happen more often
than you think.
The developer docs state that it'll be inferred anyhow:
{quote}
You do not need to set every viewport property. If only a subset of the
properties are set, then Safari on iOS infers the other values. For example, if
you set the scale to 1.0, Safari assumes the width is device-width in portrait
and device-height in landscape orientation. Therefore, if you want the width to
be 980 pixels and the initial scale to be 1.0, then set both of these
properties.
{quote}
> Orientation issue when status bar is hidden
> -------------------------------------------
>
> Key: CB-1372
> URL: https://issues.apache.org/jira/browse/CB-1372
> Project: Apache Cordova
> Issue Type: Bug
> Components: iOS
> Affects Versions: 2.1.0
> Environment: mountain lion
> Reporter: will prater
> Assignee: Shazron Abdullah
> Fix For: 2.1.0
>
>
> If I manually hide the status bar in the AppDelegate after the
> forceStartupRotation routine, issues persist after dismissing the CDVCamera.
> Im hiding the status bar as such
> [[UIApplication sharedApplication] setStatusBarHidden:true
> withAnimation:UIStatusBarAnimationNone]
> My application is setup to only run as UIInterfaceOrientationLandscapeRight
> in mainViewController#shouldAutorotateToInterfaceOrientation
> If Im to pull up the CDVCamera with takePicture and then dismiss it, the app
> appears to be in UIInterfaceOrientationPortrait.
--
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