【问题标题】:Objective c WebKit on Mac OS X outputs HTTPHeader logsMac OS X 上的 Objective c WebKit 输出 HTTPHeader 日志
【发布时间】:2014-03-13 14:33:47
【问题描述】:

我有一个由其他程序员编写的项目,它使用 WebKit。 问题是,Webview 会打印一些像这样的默认日志

{
  "Cache-Control" = "no-cache, no-store";
  "Content-Encoding" = gzip;
  "Content-Length" = 218;
  "Content-Type" = "text/xml";
  Date = "Thu, 13 Mar 2014 13:14:46 GMT";
  Expires = "-1";
  "Keep-Alive" = "timeout=3, max=993";
  Pragma = "no-cache";
  Server = "Microsoft-IIS/7.5";
  Vary = "Accept-Encoding";
  "X-Powered-By" = "ASP.NET";
}

而且我无法禁用这些日志。

我在google上深度搜索,没有合适的答案。

【问题讨论】:

    标签: objective-c macos cocoa webview webkit


    【解决方案1】:

    在您的代码库中搜索 NSLog 语句。

    (在 Xcode 中使用 Cmd Shift F 来调用 Search All Files

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-02-18
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2013-01-01
      • 1970-01-01
      相关资源
      最近更新 更多