I am using sendAsynchronousRequest:queue:completionHandler:
class function of nsurlconnection .How shall I cancel the this connection?
Asked
Active
Viewed 45 times
1

NSCry
- 1,662
- 6
- 23
- 39
1 Answers
1
You can't. If you need the option to cancel an URL request, you have to use the delegate-based methods of NSURLConnection
, e.g. connectionWithRequest:delegate:
.

Martin R
- 529,903
- 94
- 1,240
- 1,382