Instance Method

cancel

Cancels the receiver’s download and deletes the downloaded file.

Declaration

- (void)cancel;

Discussion

This method deletes the partially downloaded file unless you have previously called deletesFileUponFailure, passing NO.