Contents

cancel()

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

Declaration

func cancel()

Discussion

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