I'm working on a native iPhone app. I am able to load a local file index.html into a UIWebView:
[webView loadRequest:[NSURLRequest requestWithURL:[NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"index" ofType:@"html"]isDirectory:NO]]];
The web loads fine. Now, I would like to load the web with some parameters, in the same way one types this in the browser: URL?var1=myValue&var2=myValue2
So I can get those values inside the javascript of the html file. Is there any way to send parameters to a local html file?
Thanks!