Ios swift – How to detect resource request in an iOS webview, same as Android's "shouldInterceptRequest"?
In the iOS WKWebView, is there a way to detect when the website makes a resource request (e.g. an HttpRequest via Ajax)? In Android, there is a very convenient method "shouldInterceptRequest", but I cannot find an equivalent in iOS.