I am just loading a local html file in my webview. This html file referances .js files also stored locally. The webview loads the html file properly but does not respond to the javascript functions defined in .js files. This is the way how I am loading my local html file.
[aWebView loadRequest:[NSURLRequest requestWithURL:[NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"index" ofType:@"html"]isDirectory:NO]]];
Note that I have already removed the warning
warning: no rule to process file '$(PROJECT_DIR)/html/orientation.js' of type sourcecode.javascript for architecture i386
But still it doesn't work out. Please help. Thanks Laura