incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Klaus Schmidt (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-1511) Cordova 2.1/2.2 Audio Capture iOS6 CDVAudioRecorderViewController wrong orientation
Date Thu, 20 Sep 2012 12:20:12 GMT

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

Klaus Schmidt commented on CB-1511:
-----------------------------------

I found out, that in iOS6: "...Now, iOS containers (such as UINavigationController) do not
consult their children to determine whether they should autorotate." (Look here: http://www.bgr.com/2012/07/16/ios-6-download-beta-3-change-log/)
Such a container is used in "CDVCapture.m" to display the "CDVAudioRecorderViewController"
in itself. So, the CDVAudioRecorderViewController rotates because the UINavigationController
is allowed to rotate.
Following the first answer of here
http://stackoverflow.com/questions/12504464/ios-6-uitabbarcontroller-supported-orientation-with-current-uinavigation-control
one would have to implement an own uinavigationcontrol and disable rotating and set the orientation.
This will be a bigger change, I am not able to do this or another proper solution.
                
> Cordova 2.1/2.2 Audio Capture iOS6 CDVAudioRecorderViewController wrong orientation
> -----------------------------------------------------------------------------------
>
>                 Key: CB-1511
>                 URL: https://issues.apache.org/jira/browse/CB-1511
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 2.1.0, 2.2.0
>         Environment: iOS6, iPad3, Cordova 2.1.0 with 2.2.0-fix CB-1465
>            Reporter: Klaus Schmidt
>            Assignee: Becky Gibson
>             Fix For: 2.2.0
>
>         Attachments: screenshot1.PNG, screenshot2.PNG
>
>
> Hi,
> I've running the actual code of Cordova 2.1.0 with the mainViewController-fix CB-1465.
> If I want to capture an Audio-File when the app is in landscape mode, the CDVAudioRecorderViewController
has the wrong orientation (screenshot1), the orientation is not fixed in portrait mode, it
is, like the other app, running in landscape mode. If I rotate the iPad to portrait mode,
the CDVAudioRecorderViewController is displayed correctly (screenshot2).
> Can you please fix this? I think, you can set the orientation to portrait-mode to a fix
portrait-mode orientation, but I don't know how...
> Thanks and greetings,
> Klaus.

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

Mime
View raw message