---
title: deleteAfterSuccessfulDownload
framework: imagecapturecore
role: symbol
role_heading: Type Property
path: imagecapturecore/icdownloadoption/deleteaftersuccessfuldownload
---

# deleteAfterSuccessfulDownload

A Boolean value indicating whether to delete the file from the device after a successful download.

## Declaration

```swift
static let deleteAfterSuccessfulDownload: ICDownloadOption
```

## Discussion

Discussion Specify this value as an NSNumber object.

## See Also

### Download Options

- [downloadsDirectoryURL](imagecapturecore/icdownloadoption/downloadsdirectoryurl.md)
- [saveAsFilename](imagecapturecore/icdownloadoption/saveasfilename.md)
- [savedFilename](imagecapturecore/icdownloadoption/savedfilename.md)
- [savedAncillaryFiles](imagecapturecore/icdownloadoption/savedancillaryfiles.md)
- [overwrite](imagecapturecore/icdownloadoption/overwrite.md)
- [sidecarFiles](imagecapturecore/icdownloadoption/sidecarfiles.md)
