My Cocoa app uses WebView to open pages that uses cookies. For testing purposes I want to remove those cookies. How can I do this (programmatically or manually) ?
My Cocoa app uses WebView to open pages that uses cookies. For testing purposes
Share
Originally, cookies were shared between apps on Mac OS X. So you could use the Safari preferences to remove all cookies.
However, as of OS X 10.11, that potential security hole has been closed, and all apps have their own cookie store. (and even before that, sandboxed apps had their own cookie store too)