<div dir="ltr">I&#39;ve been looking how to open the web inspector for a WKWebView from code, so I can display it after clicking on a specific button in my app.<div><br></div><div>Since this commit(1) I can launch the inspector from the right click developer menu, so I&#39;m sure it is possible. I just can&#39;t figure out how.</div><div><br></div><div>My app is outside the App Store so I&#39;m fine with using private stuff.</div><div><br></div><div>Thanks, Koen</div><div><br></div><div>[1] <a href="https://bugs.webkit.org/show_bug.cgi?id=135811">https://bugs.webkit.org/show_bug.cgi?id=135811</a></div></div>