sri
sri

Reputation: 3389

How to get corresponding response of corresponding URLConnection, if we use more than one URLConnection?

I am not sure how should i get corresponding URLConnection response data , if i use more than one URLConnection. Please help me out, i need to use more than one URLConnection?

Regards Sri

Upvotes: 0

Views: 204

Answers (1)

Eiko
Eiko

Reputation: 25632

Every callback you get has the URLConnection as its first parameter, for example

- (void)connectionDidFinishLoading:(NSURLConnection *)connection

So you always know what connection the data belongs to.

Upvotes: 1

Related Questions