<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "visionOS: 27.0.0 -",
    "watchOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CoreAI",
  "identifier" : "/documentation/CoreAI/AIModelCache/Policy/persistent",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "Core AI"
    ],
    "preciseIdentifier" : "s:15CoreAIDelegates12AIModelCacheC6PolicyV10persistentAEvpZ"
  },
  "title" : "persistent"
}
-->

# persistent

A policy that prevents automatic purging of specialized assets.

```
static let persistent: AIModelCache.Policy
```

## Discussion

This policy ensures the system does not purge specialized assets until the next OS update.
You can manually delete them, but the system does *not* automatically purge them under
low storage or when the source `.aimodel` changes.

> Note: On tvOS this setting is unavailable. Any policy must be purgeable for storagePressure.

---

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)