Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

evalJS returns nothing on iOS, but works on Android

$
0
0

Fairly simple question. I'm trying to evalJS the document object for testing evalJS on my webview which is loaded to a remote webpage.

var test = $.webview.evalJS("document");
alert("DATA: " + test);
On Android it alerts it as an object. On iOS it just returns this:

DATA:

Does evalJS not work with iOS? I tested this on both a physical device and simulator both have the same result (nothing in the data from evalJS).

Titanium SDK 3.5.0 iPhone 4S iOS 7 (physical) iPhone 5 iOS 8.1 (simulator)


Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>