---
title: AVMovieReferenceRestrictionsKey
framework: avfoundation
role: symbol
role_heading: Global Variable
path: avfoundation/avmoviereferencerestrictionskey
---

# AVMovieReferenceRestrictionsKey

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

## Declaration

```swift
let AVMovieReferenceRestrictionsKey: String
```

## Discussion

Discussion Specify a value for this key by passing an appropriate 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.

## See Also

### Options

- [AVMovieShouldSupportAliasDataReferencesKey](avfoundation/avmovieshouldsupportaliasdatareferenceskey.md)
