Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 NSURLConnection 在端口 443 连接服务器进行身份验证。仅对于 BAD 凭据,它会发出两个请求,即使我只提出了一个请求。我通过使用嗅探器记录服务器和模拟器/设备进行调试。
但我只打了一次电话,只得到一个回复。我在模拟器/iphone/ipad 中使用 NSLog 对其进行了调试
固定的。如果您使用的是 NSOperationQueue,请将 maxConcurrentOperationCount 设置为 1。这样就可以了。