<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.4.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "ImageCaptureCore",
  "identifier" : "/documentation/ImageCaptureCore/ICDownloadOption/deleteAfterSuccessfulDownload",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "ImageCaptureCore"
    ],
    "preciseIdentifier" : "c:@ICDeleteAfterSuccessfulDownload"
  },
  "title" : "deleteAfterSuccessfulDownload"
}
-->

# deleteAfterSuccessfulDownload

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

```
static let deleteAfterSuccessfulDownload: ICDownloadOption
```

## Discussion

Specify this value as an <doc://com.apple.documentation/documentation/Foundation/NSNumber> object.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)