YWebView

The primary codes are copied from an answer of SO.
All cookies will be loaded from NSHTTPCookieStorage. When a web page is loaded, its cookies will be save to NSHTTPCookieStorage as well.
This method allows cookie sharing among multiple WKWebView and UIWebView.