Access the web via the WKWebView's loadRequest method.
I want to save the returned third-party cookies and upload the data with third-party cookies when accessing the web page, but I find that the third-party cookies are missing when I upload the data.
After opening NSHTTPCookieAcceptPolicyAlways, found the two problems:
1. when the first use of the app, the third-party cookies lost. After the re-open the app, third-party cookies are not lost.
2. when the first use of the app to visit the other web, then visit the web which i want to visit, third-party cookies are not lost.
I would like to ask is:
How WKWebView handles third-party cookies?
If you do not have NSHTTPCookieAcceptPolicyAlways, why third-party cookies has not been saved?
How to set up to solve the problem that third-party cookies lost when uploading data?