Instance Method


Sent to the delegate when the URL connection has successfully downloaded the URL asset to a destination file.



- (void)connectionDidFinishDownloading:(NSURLConnection *)connection destinationURL:(NSURL *)destinationURL;



The URL connection object that downloaded the asset.


A file URL specifying a destination in the file system. For iOS applications, this is a location in the application sandbox.


This method will be called once after a successful download. The file downloaded to destinationURL is guaranteed to exist there only for the duration of this method implementation; the delegate should copy or move the file to a more persistent and appropriate location.

See Also

Managing Downloads of URL Assets

- connection:didWriteData:totalBytesWritten:expectedTotalBytes:

Sent to the delegate to deliver progress information for a download of a URL asset to a destination file.

- connectionDidResumeDownloading:totalBytesWritten:expectedTotalBytes:

Sent to the delegate when an URL connection resumes downloading a URL asset that was earlier suspended.