This commit is contained in:
启星
2025-09-24 09:14:50 +08:00
parent 3b6b02f950
commit d361de3687
18 changed files with 71 additions and 33 deletions

View File

@@ -98,9 +98,9 @@ static void *WKWebBrowserContext = &WKWebBrowserContext;
// NOios8
_contentWebView.allowsBackForwardNavigationGestures = YES;
}
_contentWebView = [[WKWebView alloc] initWithFrame:CGRectMake(25, self.ruleImageView.bottom, self.width-16*2, self.bgView.height-self.ruleImageView.bottom) configuration:configuration];
_contentWebView.backgroundColor = [UIColor clearColor];
[_contentWebView addRoundedCornersWithRadius:16];
_contentWebView = [[WKWebView alloc] initWithFrame:CGRectMake(16, self.ruleImageView.bottom+12, self.width-16*2, self.bgView.height-self.ruleImageView.bottom-12) configuration:configuration];
_contentWebView.backgroundColor = RGB16A(0x000000, 0.5);
[_contentWebView addRoundedCornersWithRadius:6];
_contentWebView.opaque = NO;
//
[_contentWebView sizeToFit];