Top "Wkwebview" questions

A WKWebView object displays interactive web content.

How can I give WKWebView a colored background

I'm working on an app in which I load different html files with mostly dark backgrounds. Right now there's a …

cocoa-touch uikit wkwebview
Enable Application cache in WKWebView

I am aware that offline application cache is not supported in iOS WKWebView. This is enabled in Safari, so I …

ios objective-c webkit wkwebview application-cache
Authentication with WKWebView in Swift

In my iOS app, I would like to use a WKWebView to wrap an external URL in the application. This …

ios swift basic-authentication wkwebview
Displaying activity indicator on WKWebView using swift

I am working on the following code and trying to show an activity indicator in the view whilst the page …

ios delegates uiactivityindicatorview wkwebview
How to read console logs of wkwebview programmatically

I am trying to read the console logs of webapp that is loaded in my WkWebview programmatically. so far in …

javascript ios swift uiwebview wkwebview
WKWebView on link click listener?

Does there exist something like a onLinkClickListener in the WKWebView class? I tried googling it but found nothing, I also …

ios iphone swift swift3 wkwebview
WKWebView causes my view controller to leak

My view controller displays a WKWebView. I installed a message handler, a cool Web Kit feature that allows my code …

ios memory-leaks webkit ios8 wkwebview
How to get JSContext from WKWebView

In UIWebView, I can get JSContext through: [webView valueForKeyPath:@"documentView.webView.mainFrame.javaScriptContext"] The same way doesn't work in WKWebView …

uiwebview webkit ios8 javascriptcore wkwebview
WKWebView and window.open

It appears that a lot of links on websites use window.open in their onclick handlers but WKWebView seems to …

ios swift wkwebview
Losing cookies in WKWebView

When I create new request for WKWebView with authentication cookie and send the request, WKWebView correctly loads protected web page: …

cookies nsmutableurlrequest wkwebview