Merge branch 'master' into fix-android-overflow-and-adjust-default-render-loading-error

This commit is contained in:
Thibault Malbranche 2019-04-02 15:46:46 +02:00 committed by GitHub
commit e600b387ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 1 deletions

View File

@ -294,7 +294,13 @@ static NSURLCredential* clientAuthenticationCredential;
[_webView loadHTMLString:@"" baseURL:nil];
return;
}
[_webView loadRequest:request];
if (request.URL.host) {
[_webView loadRequest:request];
}
else {
[_webView loadFileURL:request.URL allowingReadAccessToURL:request.URL];
}
}
-(void)setHideKeyboardAccessoryView:(BOOL)hideKeyboardAccessoryView