incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Renso Vargas (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-1511) Cordova 2.1/2.2 Audio Capture iOS6 CDVAudioRecorderViewController wrong orientation
Date Fri, 05 Oct 2012 16:48:03 GMT

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

Renso Vargas commented on CB-1511:
----------------------------------

Hi Becky, i'm getting some errors with CDVCapture trying to compile CordovaLib using XCode
4.4 for iPad 5.1 

No visible @interface for 'UIViewController' declares the selector 'supportedInterfaceOrientations'
Use of undeclared identifier 'UIInterfaceOrientationMaskPortrait'; did you mean 'UIInterfaceOrientationPortrait'?
No visible @interface for 'UIViewController' declares the selector 'supportedInterfaceOrientations'
Use of undeclared identifier 'UIInterfaceOrientationMaskPortraitUpsideDown'; did you mean
'UIInterfaceOrientationPortraitUpsideDown'?

It is possible to compile successfully with iOS6 + XCode 4.5 but apparently the changes are
not backwards compatible with iOS5 + XCode 4.4. Please could you point me in right direction
to fix this.

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