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

Miguel Cardoso closed CB-5355.
------------------------------

    Resolution: Invalid

error in implementation from js side, not a cordova issue! sorry

> uncaught exception in the webView by defining 
> window.shouldRotateToOrientation on IOS7
> --------------------------------------------------------------------------------------
>
>                 Key: CB-5355
>                 URL: https://issues.apache.org/jira/browse/CB-5355
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: iOS
>    Affects Versions: 3.1.0
>         Environment: IOS 7.0.3 device and simulators on XCode 5.0
>            Reporter: Miguel Cardoso
>            Priority: Blocker
>
> by adding in javascript the function 
> window.shouldRotateToOrientation=function(orientation){
>      return (1==orientation);
> }
> dispatches in xcode the error:
> 2013-11-12 12:56:43.388 qFinance[17446:70b] *** Assertion failure in 
> -[UIApplication runModal:](), 
> /SourceCache/UIKit_Sim/UIKit-2903.23/UIApplication.m:9465
> 2013-11-12 12:56:43.389 HelloWorld[17446:70b] *** WebKit discarded an 
> uncaught exception in the 
> webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame: delegate: 
> <NSInternalInconsistencyException> The view passed in does not have a window.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to