Xcode7 使用NSURLSession发送HTTP请求的问题

 

  解决办法:

    在info.plist中添加
      <key>NSAppTransportSecurity</key><dict>
         <key>NSAllowsArbitraryLoads</key>
        <true/></dict>

你可能感兴趣的:(Xcode7 使用NSURLSession发送HTTP请求的问题)