There does not seem to be a way to show the web inspector from code. The current only way is to right click in the WKWebView and select "Inspect Element" from the menu. This used to be pretty easy with the old WebView: WebInspector *inspector = [[WebInspector alloc] initWithWebView:webView]; [inspector showConsole:self]; I would love some simple way like [webView showInspector:] or private like [webView _showInspector:] I know it should probably possible today by calling some internal methods, but I haven't been able to figure that out. Hints would be really appreciated.
<rdar://problem/18610236>