<!--
{
  "availability" : [
    "iOS: 10.3.0 - 11.2.0",
    "iPadOS: 10.3.0 - 11.2.0",
    "macCatalyst: 13.1.0 - 13.1.0"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVContentKeyRequest/respondByRequestingPersistableContentKeyRequest()",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVContentKeyRequest(im)respondByRequestingPersistableContentKeyRequest"
  },
  "title" : "respondByRequestingPersistableContentKeyRequest()"
}
-->

# respondByRequestingPersistableContentKeyRequest()

Tells the receiver that the app requires a persistable content key request object for processing.

```
func respondByRequestingPersistableContentKeyRequest()
```

## Discussion

To create a key that persists across multiple playback sessions, use this method to request an [`AVPersistableContentKeyRequest`](/documentation/AVFoundation/AVPersistableContentKeyRequest) object. If the underlying protocol supports persistable content keys, the delegate receives a persistable content key request via the [`contentKeySession(_:didProvide:)`](/documentation/AVFoundation/AVContentKeySessionDelegate/contentKeySession(_:didProvide:)-2wdgz) method. An <doc://com.apple.documentation/documentation/Foundation/NSExceptionName/internalInconsistencyException> is returned if your delegate does not respond to [`contentKeySession(_:didProvide:)`](/documentation/AVFoundation/AVContentKeySessionDelegate/contentKeySession(_:didProvide:)-2wdgz).

---

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)