Asynchronous Request make for-Loop waiting for didFinishLoading

Posted by rdesign on Stack Overflow See other posts from Stack Overflow or by rdesign
Published on 2010-06-12T10:59:03Z Indexed on 2010/06/12 11:02 UTC
Read the original article Hit count: 322

Filed under:
|
|
|

Hey guys,

I have a asynchronous url request within a for loop. This loop is called 20 times, each time one parameter of the webaddress is changed. Everytime the didFinishLoading method is called I want to hand over the data of this specific webadress.

The problem now is that when I run the for loop, the didFinishLoading method is not called, only at the end.

Any suggenstions on how to make the loop wait for complete loading the data for the specific URL?

Thanks a lot.

© Stack Overflow or respective owner

Related posts about iphone

Related posts about for-loop