WKWebview Cookies not set iframe requests

I used to load the iframe using wkwebview & able to set the cookies for iframe server requests until using Xcode 11. After upgrading to Xcode 12. I was not able to set cookies for iframe requests.

I have the same issue.
Did you find a solution? I am experiencing the same issue.
I have the same issue.
find the reason:
https://webkit.org/blog/11340/new-webkit-features-in-safari-14/

Xcode12 Base SDK iOS14
Xcode11 Base SDK iOS13

iOS 14 WebKit enabled full third-party cookie blocking

NSHTTPCookieStorage you can set Cookie Accept Policy as
NSHTTPCookieAcceptPolicyAlways,
NSHTTPCookieAcceptPolicyNever,
NSHTTPCookieAcceptPolicyOnlyFromMainDocumentDomain

but WKWebview no way to set the WKHTTPCookieStorage Cookie Accept Policy.
WKWebview Cookies not set iframe requests
 
 
Q