You can remove all the cookies specifically stored for an URL like this (Swift 3):
let cstorage = HTTPCookieStorage.sharedif let cookies = cstorage.cookies(for: url) { for cookie in cookies { cstorage.deleteCookie(cookie) }}