<!--
{
  "availability" : [
    "iOS: 6.0.0 - 16.0.0",
    "iPadOS: 6.0.0 - 16.0.0",
    "macCatalyst: 13.0.0 - 16.0.0",
    "macOS: 10.8.0 - 13.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "StoreKit",
  "identifier" : "/documentation/StoreKit/SKDownload/deleteContent(forProductID:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "StoreKit"
    ],
    "preciseIdentifier" : "c:objc(cs)SKDownload(cm)deleteContentForProductID:"
  },
  "title" : "deleteContent(forProductID:)"
}
-->

# deleteContent(forProductID:)

Deletes the previously downloaded file.

```
class func deleteContent(forProductID productID: String)
```

## Parameters

`productID`

The product identifier.

## Discussion

---

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)