For now I am doing like this
NSHTTPCookie *cookie; NSHTTPCookieStorage *storage = [NSHTTPCookieStorage sharedHTTPCookieStorage]; for (cookie in [
WKWebview storing nothing inside [NSHTTPCookieStorage sharedHTTPCookieStorage].
clearing WKWebsiteDataStore will be the solution for this problem.
Still for IOS8 which is using WKwebview, this method is not applicable..