stringByEvaluatingJavaScriptFromString doesn't always seem to work
I am developing an Objective C application that loads a large HTML document in to a UIWebView as the user scrolls through it. This is because the document is 20Mb and tends to crash the webview if loaded all at once. The idea is that the document is split in to chunks of HTML and as the user scrolls through it new elements are added to the document and old elements are removed. Currently I am working on getting the Objective C application to pass data to a javascript function within the document. I have the following Objective C code: - (BOOL)webView:(UIWebView *)webView2