D
D
Dmitry Zamula2014-06-01 15:44:21
Objective-C
Dmitry Zamula, 2014-06-01 15:44:21

How to implement multiple NSURLConnection sending?

In my program, I need to send several requests in a row using NSURLConnection, and I send them in the body of the loop one by one, changing only the address of the GET request, but the response comes only from the first request, the rest are nil.
Most likely, I incorrectly implemented the mechanism for sending requests, how can I implement it correctly? I receive the answer through delegates in the same controller.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
ManWithBear, 2014-06-01
@ManWithBear

I think the error is in the 4th line.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question