Thanks to the bellow question's answer, I figured out how to use Cookies between multiple WKWebView by using WKProcessPool.
Cookie sharing between multiple WKWebViews
And then I'm now trying to permanently store the WKProcessPool object (of my singleton object) by using NSUserDefaults.
I've got the following error.
Attempt to insert non-property list object
So I tries to fix the error by converting WKProcessPool object into NSData by NSKeyedArchiver.
But It cannot be done because WKProcessPool does not implement encodeWithCoder:
and init:aDecoder
.
How can I solve this problem to store WKProcessPool object permanently?