Making WKWebView not share cookies with Safari in OS X
How do I make WKWebView not share cookies with Safari in OSX? I have a very simple app that I made as an experiment that displays a WKWebView and as far as I can see, it's picking up cookies from Safari, because in my custom app, I'm logged in in the same websites as Safari. I am currently creating the WKWebView instance like this: override func loadView() { self.webView = WKWebView() self.view = self.webView! } in an NSViewController I created. I also tried this: override func loadView() { var processPool = WKProcessPool() var config = WKWebViewConfiguration() config.processPool = processPool