J'ai essayé de plusieurs façons que spécifié dans de nombreux threads. Toujours mon WebView ne charge pas les fichiers js locaux. La façon dont je l'ai essayéUIWebView chargement des fichiers locaux
NSString *tempResourcePath=[[NSBundle mainBundle] resourcePath];
NSURL *resourceUrl = [NSURL fileURLWithPath:tempResourcePath];
[webView loadHTMLString:html baseURL:resourceUrl];
NSString *html = [[NSString alloc] initWithContentsOfFile:htmlPath];
NSString *resourcePath = [[NSBundle mainBundle] resourcePath];
//resourcePath = [resourcePath stringByReplacingOccurrencesOfString:@"/" withString:@"//"];
resourcePath = [resourcePath stringByReplacingOccurrencesOfString:@" " withString:@"%20"];
resourcePath = [NSString stringWithFormat:@"file:/%@/",resourcePath];
NSURL *resourceUrl = [NSURL fileURLWithPath: resourcePath];
mais le WebView ne fonctionne pas. Quelqu'un pourrait-il m'aider à résoudre ce problème?