uiwebviewdelegate

NSString in webview iPhone and objective-C

Hi, i have an NSString and a webView in my project (Objective-C for iPhone), i have called index.html in webView and in index.html i have written my script (javascript) How can i pass the NSString as a var in my script and viceversa? http://developer.apple.com/library/safari/#documentation/AppleApplications/Conceptual/SafariJSProgTopics/...

Implementing delegate methods, but still getting a warning?

Hi all, I'm getting a peculiar warning, specifically this one: warning: class does not implement the 'UIWebViewDelegate' protocol ... when I have these methods in my application: -(void)webViewDidStartLoad { ... } -(void)webViewDidFinishLoad { ... } ... and even after setting the UIWebView's delegate to self, I still get ...

How to specify exactly the last time webViewDidFinishLoad for UIWebView get called?

I've read the previous post for this question, UIWebView - How to identify the “last” webViewDidFinishLoad message? but in fact I didn't get the answer very much. what I need is to execute a script on the webView but after it finishes its loading completely. I've tried to count the frames inside the HTML by reading it to a string and the...

iPhone - UIWebView: Detect User Scrolling to Bottom of Page

So, I have a UIView with a UIWebView inside serving up a local HTML file (a document preview). I also have "Accept" & "Reject" UIButtons. I need these buttons to only appear after the user has scrolled to the bottom of the web page. Is there a way to capture an event for scrolling to the bottom of a UIWebView? I have not seen any g...