Transition from UIWebView to WKWebView

I have issue where I couldn't complete the transition from UIWebView to WKWebView.

In my case I use UIWebView for SSO where user login to his identity provider and I get back a POST request with the needed Informations in the HTTPBody.

WKWebView doesn't capture the HTTPBody of POST request

If anyone have any information please help. Thanks 🙏
What do you mean "WKWebView doesn't capture the HTTPBody of POST request" ?

Where is it you are trying to intercept the request and not seeing the POST body?
I inspects requests using this function

Code Block
func webView(_ webView: WKWebView, decidePolicyFor navigationAction: WKNavigationAction, decisionHandler: @escaping (WKNavigationActionPolicy) -> Void)

from WKNavigationDelegate

But navigationAction.request.httpBody is always nil
Please file a Feedback Assistant issue and note the FBnnnnnnnn identifier here.
Hey @ddkilzer

I filed an issue with this identifier: FB7746957

Thanks,
Thanks! This issue is also being tracked in the WebKit open source bug tracker: https://bugs.webkit.org/show_bug.cgi?id=179077

If you could create a sample Xcode project that reproduces the issue you're seeing and attach it to FB7746957, that would help us a great deal.

Note: There have been MULTIPLE issues related to this over the years, so don't automatically assume this is the same as that webkit bug. But definitely a sample project with your specific url request and way of using it can help make sure it's covered.
I had an appointment with (1 to 1 lab) Apple engineer and there is a change to open source WebKit

https://trac.webkit.org/changeset/263411/webkit

Hopefully this will come to Xcode before December and won't have any delays uploading new updates

Thank you Mr. Apple engineer (I don't know his name 🤷🏻‍♂️ ) If you are seeing this
Transition from UIWebView to WKWebView
 
 
Q