---
title: truncateDestinationToMovieHeaderOnly
framework: avfoundation
role: symbol
role_heading: Type Property
path: avfoundation/avmoviewritingoptions/truncatedestinationtomovieheaderonly
---

# truncateDestinationToMovieHeaderOnly

The movie header overwrites all existing data and creates a pure reference movie file.

## Declaration

```swift
static var truncateDestinationToMovieHeaderOnly: AVMovieWritingOptions { get }
```

## Discussion

Discussion Creates a file type box at the beginning of the destination file.

## See Also

### Writing options

- [addMovieHeaderToDestination](avfoundation/avmoviewritingoptions/addmovieheadertodestination.md)
