I need to populate an array using data from a NSURL
. How do I determine when the download from the URL has completed?
views:
99answers:
1
+1
A:
You usually use NSURLConnection and then set its delegate to whatever object controls the download. When NSURLConnection finishes it sends connectionDidFinishLoading:
to the delegate to signal completion.
See the URL System Programming Guide.
TechZen
2010-05-14 21:47:49