Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iOS 11 Webview remote debugging

I am trying to debug a WKWebview using Safari 10.1.1 .

I am able to do so successfully when I install my app on an iOS10 device but if I do so on an iOS11-Beta2 device it will not appear under the develop menu.

Is there a way to do so for iOS11 ?

like image 921
Makaronodentro Avatar asked Jul 13 '17 10:07

Makaronodentro


People also ask

How do I view WebView in Safari?

Connect your Android device to your dev computer and launch your application. Launch Chrome on your dev computer and navigate to the url chrome://inspect . This page shows you a list of webview instances running on your connected Android device. Click the inspect link next to the webview that you wish to debug.

How do I debug iOS in Chrome?

In Chrome on your iPad or iPhone, go to chrome://inspect and then press Start Logging. Now go do your thing in another tab, keeping this tab open. Come back anytime to see any and all console outputs!

What is WKWebView?

A WKWebView object is a platform-native view that you use to incorporate web content seamlessly into your app's UI. A web view supports a full web-browsing experience, and presents HTML, CSS, and JavaScript content alongside your app's native views.


1 Answers

Safari technology preview

You'll need this to get Safari to pickup your iOS 11 device

like image 80
Ali Hassan Avatar answered Oct 21 '22 17:10

Ali Hassan