[ https://issues.apache.org/jira/browse/CB-1372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Shazron Abdullah resolved CB-1372. ---------------------------------- Resolution: Not A Problem After more testing, this is not an Objective-C issue but a viewport meta tag issue. To repro this bug, you should have a viewport meta tag like this: {code} <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, height=device-height, target-densitydpi=device-dpi" /> {code} Note the relevant part here is "height=device-height" which causes this bug. Fix is to remove "height=device-height" from the viewport meta tag: {code} <meta name="viewport" content="user-scalable=no, initial-scale=1, maximum-scale=1, minimum-scale=1, width=device-width, target-densitydpi=device-dpi" /> {code} > 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