Skip to content
This repository was archived by the owner on Oct 10, 2025. It is now read-only.

Commit e00b89d

Browse files
authored
Merge pull request #23 from magiclabs/ariflo-sc-75416-adds-webview-inspector
Adds `isInspectable` check to WebViewController
2 parents 6bacce5 + d594710 commit e00b89d

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

MagicSDK.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#
44
Pod::Spec.new do |s|
55
s.name = 'MagicSDK'
6-
s.version = '8.0.0'
6+
s.version = '8.0.1'
77
s.summary = 'Magic IOS SDK'
88

99
s.description = <<-DESC

Sources/MagicSDK/Core/Relayer/WebViewController.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,10 @@ class WebViewController: UIViewController, WKUIDelegate, WKScriptMessageHandler,
191191

192192
webView.uiDelegate = self
193193

194+
if #available(macOS 13.3, iOS 16.4, tvOS 16.4, *) {
195+
webView.isInspectable = true
196+
}
197+
194198
// conforming WKNavigationDelegate
195199
webView.navigationDelegate = self
196200

0 commit comments

Comments
 (0)