启动文字提示,h5调试加入
This commit is contained in:
@@ -108,6 +108,11 @@ public final class OverlayViewController: UIViewController {
|
||||
}
|
||||
|
||||
webView = WKWebView(frame: .zero, configuration: config)
|
||||
#if DEBUG
|
||||
if #available(iOS 16.4, *) {
|
||||
webView.isInspectable = true
|
||||
}
|
||||
#endif
|
||||
webView.scrollView.bounces = false
|
||||
webView.scrollView.contentInsetAdjustmentBehavior = .never
|
||||
webView.translatesAutoresizingMaskIntoConstraints = false
|
||||
|
||||
Reference in New Issue
Block a user