0

My app is using UIWebview but the UIWebview have a lot of problem.

So i'm transporting from UIWebview to WKWebview.

My issue is cookie.

My app is using multiple WKWebview.

Cookie is did not share in WKWebviews and cookie create is very strange.

Who knows about this?

Vinaykrishnan
  • 740
  • 3
  • 14
  • 34

1 Answers1

0

Try using a shared WKWebViewConfiguration.websiteDataStore.httpCookieStore to set cookies and pass the configuration to the WKWebView-s on creation. See the code here: https://stackoverflow.com/a/49534854/1009546

battlmonstr
  • 5,841
  • 1
  • 23
  • 33