When I load an .html file into webview using following method and finish its load, an event -(void)webViewDidFinishLoad:(UIWebView *)webView {
is fired.
[webView1 loadRequest:[NSURLRequest requestWithURL:[NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:@"/files/myFile" ofType:@"html"]isDirectory:NO]]];
However, if I load same file remotely, that event is not fired! why? How could I do it? Thank you.
[webView1 loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:[urlBase stringByAppendingString:@".html"]]]];