You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "will prater (JIRA)" <ji...@apache.org> on 2012/09/05 01:03:08 UTC

[jira] [Updated] (CB-1372) Orientation issue when status bar is hidden

     [ https://issues.apache.org/jira/browse/CB-1372?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

will prater updated CB-1372:
----------------------------

    Description: 
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.


  was:
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.


    
> 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
>
> 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