2
我想了解使用–initWithRequest:delegate:
與委託方法和+sendAsynchronousRequest:queue:completionHandler:
之間的區別。使用NSURLConnection與委託回調和sendAsynchronousRequest是否有區別:queue:completionHandler:?
根據請求數量或任何其他標準是否存在一些性能差異?
我想了解使用–initWithRequest:delegate:
與委託方法和+sendAsynchronousRequest:queue:completionHandler:
之間的區別。使用NSURLConnection與委託回調和sendAsynchronousRequest是否有區別:queue:completionHandler:?
根據請求數量或任何其他標準是否存在一些性能差異?
sendAsynchronousRequest:queue:completionHandler
是一個更容易打電話。 initWithRequest:delegate
可讓您更好地控制緩存,重定向,下載大量或增量數據,取消請求等等。