Instance Method

download:didFailWithError:

Sent if the download fails or if an I/O error occurs when the file is written to disk.

Declaration

- (void)download:(NSURLDownload *)download didFailWithError:(NSError *)error;

Parameters

download

The URL download object sending the message.

error

The error that caused the failure of the download.

Discussion

Any partially downloaded file will be deleted.

Special Considerations

Once the delegate receives this message, it will receive no further messages for download.

See Also

Download Completion

- downloadDidFinish:

Sent when a download object has completed downloading successfully and has written its results to disk.