Post

Replies

Boosts

Views

Activity

Reply to How Intercept all the Http Request/Responce(GET,POST) in a website which loads on WkWebView from swift.
You can do this in the navigation delegate method decidePolicy : optional func webView( _ webView: WKWebView, decidePolicyFor navigationAction: WKNavigationAction, decisionHandler: @escaping (WKNavigationActionPolicy) -> Void ) the navigationAction parameter contains the URLRequest which contains the httpBody of the POST request.
Topic: Programming Languages SubTopic: Swift Tags:
Sep ’22