Re: Running JavaScript in iOS WebView.

2010-11-22 Thread Geoffrey Holden
Okay, I've verified that the page has loaded correctly (by running [webView stringByEvaluatingJavaScriptFromString:@"document.body.innerHTML"] to output the HTML of the loaded webview and then comparing it with the page loaded by the Mac version to ensure that they're the same.) I've come to th

Re: Running JavaScript in iOS WebView.

2010-11-21 Thread Adrian Petrescu
For what it's worth, that framework is definitely fine on iOS. I've used it successfully myself at least twice. On Wed, Nov 17, 2010 at 2:07 PM, Conrad Shultz < con...@synthetiqsolutions.com> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 11/17/10 1:33 PM, Geoffrey Holden wrote:

Re: Running JavaScript in iOS WebView.

2010-11-17 Thread Laurent Daudelin
On Nov 17, 2010, at 14:40, Glenn R. Martin wrote: > On 17 Nov 2010, at 17:28 , cocoa-dev-requ...@lists.apple.com wrote: > >> >> JavaScript execution time is limited to 10 seconds for each top-level entry >> point. If your script executes for more than 10 seconds, the web view stops >> executin

Re: Running JavaScript in iOS WebView.

2010-11-17 Thread Glenn R. Martin
On 17 Nov 2010, at 17:28 , cocoa-dev-requ...@lists.apple.com wrote: > > JavaScript execution time is limited to 10 seconds for each top-level entry > point. If your script executes for more than 10 seconds, the web view stops > executing the script. This is likely to occur at a random place in

Re: Running JavaScript in iOS WebView.

2010-11-17 Thread glenn andreas
On Nov 17, 2010, at 3:33 PM, Geoffrey Holden wrote: > I've written an app for the Mac (which runs rather nicely) and now I'm trying > to port it to iOS (where it won't run at all). The particular line of code > which is causing a problem is this: > > [webView stringByEvaluatingJavaScrip

Re: Running JavaScript in iOS WebView.

2010-11-17 Thread Conrad Shultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/17/10 1:33 PM, Geoffrey Holden wrote: > void SendDelegateMessage(NSInvocation*): delegate (webViewDidLayout:) > failed to return after waiting 10 seconds. main run loop mode: > GSEventReceiveRunLoopMode > > I have got webViewDidFinishLoad (that'

Re: Running JavaScript in iOS WebView.

2010-11-17 Thread Laurent Daudelin
On Nov 17, 2010, at 13:33, Geoffrey Holden wrote: > I've written an app for the Mac (which runs rather nicely) and now I'm trying > to port it to iOS (where it won't run at all). The particular line of code > which is causing a problem is this: > > [webView stringByEvaluatingJavaScriptFr

Running JavaScript in iOS WebView.

2010-11-17 Thread Geoffrey Holden
I've written an app for the Mac (which runs rather nicely) and now I'm trying to port it to iOS (where it won't run at all). The particular line of code which is causing a problem is this: [webView stringByEvaluatingJavaScriptFromString:cmdStr]; cmdStr contains the following: rcs.inv