iOS WKWebView Could not signal service com.apple.WebKit.Networking: 113: Could not find specified service

WKWebView 加载网页的时候出现下面的错误

Could not signal service com.apple.WebKit.Networking: 113: Could not find specified service
Set value @"false" for cookie property @"HttpOnly",
NSHTTPCookie *cookieWID = [NSHTTPCookie cookieWithProperties:[NSDictionary dictionaryWithObjectsAndKeys:
                             @"wid" ,NSHTTPCookieName, 
                             WID,NSHTTPCookieValue,
                             @"www.google.com",NSHTTPCookieDomain,
                             @"",NSHTTPCookiePath,
                             @"false",@"HttpOnly",
                             nil]];


swift
  let cookieWID = HTTPCookie(properties: [
            HTTPCookiePropertyKey(rawValue: "HttpOnly"):"false"]
        )
    原文作者:allenzhan
    原文地址: https://www.jianshu.com/p/c341f8799baa
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞