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

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

If you are compiling only anything less than iOS 6 you can just remove the 
supportedInterfaceOrientations method as it is not supported .  Since Apple 
will require you to submit any applications using the latest iOS version, in 
Cordova we generally write code to that level.  The new 
supportedInterfaceOrientations method will not cause problems on devices 
running the older iOS versions (with app created using the iOS 6 SDK) as it is 
never called on the older iOS versions.  I tested this code compiled with iOS 6 
sdk running on my original iPad which is only running 5.1.1 and it worked fine. 
                
> 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

Reply via email to