NSString in UIWebview

Viewed 9879

I have an NSString and a webView in my project (Objective-C for iPhone), I have called index.html in webView and inside it I inserted my script (javascript).

How can I pass the NSString as a var in my script and viceversa?

This is an example, but I don't understand it very well.

2 Answers
Related