[ 
https://issues.apache.org/jira/browse/CB-1372?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13453529#comment-13453529
 ] 

Shazron Abdullah commented on CB-1372:
--------------------------------------

Apple's viewport docs are confusing 
(http://developer.apple.com/library/ios/#DOCUMENTATION/AppleApplications/Reference/SafariWebContent/UsingtheViewport/UsingtheViewport.html)

Figure 3-17 is what the "fix" is - initial-scale (1.0) and device-width are 
set. I believe when you set device-height as well - it does not infer the 
height to be device-width (320pts) in landscape, but keeps it as is 
(device-height of 480pts).
                
> 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

Reply via email to