Disable WebView opaque (fixes #400)

This commit is contained in:
Duy Tran Khanh authored and GitHub committed 2022-10-14 05:31:43 +07:00
1 parent bc060b5cdf
commit 1a1b829698
1 file changed
+1
+1
View File
@@ -18,6 +18,7 @@
WKWebView *webView = [[WKWebView alloc] initWithFrame:self.view.frame configuration:webConfig];
webView.autoresizingMask = UIViewAutoresizingFlexibleHeight | UIViewAutoresizingFlexibleWidth;
webView.navigationDelegate = self;
webView.opaque = NO;
[webView loadRequest:request];
[self.view addSubview:webView];
}