启动文字提示,h5调试加入
This commit is contained in:
@@ -53,6 +53,11 @@ public final class BridgedWebView: UIView {
|
||||
|
||||
// ── 创建 WKWebView + BridgeBus ─────────────────────────
|
||||
let webView = WKWebView(frame: .zero, configuration: configuration)
|
||||
#if DEBUG
|
||||
if #available(iOS 16.4, *) {
|
||||
webView.isInspectable = true
|
||||
}
|
||||
#endif
|
||||
let bridge = BridgeBus(webView: webView,
|
||||
controller: configuration.userContentController)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user