Posts

Post not yet marked as solved
10 Replies
8.2k Views
We are migrating from deprecated API UIWebView to WKWebView.In WKWebView we loading one login page. After the success, we wanna try to catch the body and try to call other internal API.But we got nil in the below delegate method.func webView(_ webView: WKWebView, decidePolicyFor navigationAction: WKNavigationAction, decisionHandler: ((WKNavigationActionPolicy) -> Void)) {print(navigationAction.request.httpBody) //nil}However, UIWebView getting a proper HTTP body.
Posted Last updated
.