incubator-callback-dev mailing list archives

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

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

Becky Gibson commented on CB-1511:
----------------------------------

I've been playing with this most of the day. I'm not sure we need to worry about UIInterfaceOrientationPortraitUpsideDown
- had lots of problems when I tried to test with that orientation turned on!  I'm also trying
to figure out how to handle this release note:

Landscape-only apps that invoke a portrait-only view controller (such as the Game Center login
screen) will cause the app to crash.
Workaround:

* Apps should provide the delegate method application:supportedIntefaceOrientationsForWindow
and ensure that portrait is one of the returned mask values.
*When a UIBNavigationController is involved, subclass the UINavigationController and overriding
supportedInterfaceOrientations.

The second bullet is easy to handle but what do we do if someone creates a landscape only
app and decides to use the capture plugin? Do we document that they must modify application:supportedIntefaceOrientationsForWindow
to return portrait or should the Capture plugin do the necessary modifications on instantiation?
                
> 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