<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.10.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVMovieReferenceRestrictionsKey",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:@AVMovieReferenceRestrictionsKey"
  },
  "title" : "AVMovieReferenceRestrictionsKey"
}
-->

# AVMovieReferenceRestrictionsKey

A key that specifies restrictions for a movie to use when it resolves references to external media data.

```
let AVMovieReferenceRestrictionsKey: String
```

## Discussion

Specify a value for this key by passing an appropriate [`AVAssetReferenceRestrictions`](/documentation/AVFoundation/AVAssetReferenceRestrictions) value, or the logical combination of multiple values.

Some movies contain references to media data stored outside the movie’s container, such as in another file. This key specifies a policy to use when the movie encounters these references. If a movie contains one or more references of a type that’s forbidden by the reference restrictions, the loading of the movie properties fails. Additionally, you can’t use that movie instance for playback or processing.

---

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)