Hello all,
I have already added the .js file through -> target-> build phase->copy bundle resources and adding file in it. I have also defined the path of .js file in -(void)webviewDidFinishLoad like
but i am not getting the same effect as it show in web browser. I can elaborate it further(all .js files and and what i am giving to these files). I am attaching the image, the effect i needed and .js files as zipp. help me out
I have already added the .js file through -> target-> build phase->copy bundle resources and adding file in it. I have also defined the path of .js file in -(void)webviewDidFinishLoad like
Code:
NSString *jsPath = [[NSBundle mainBundle] pathForResource:@"jquery-1.3.2.min" ofType:@"js"]; NSLog(@"jsPath..:%@",jsPath);
[self insertJavascriptByURL:[NSURL fileURLWithPath:jsPath] asReference:NO];