---
title: addMovieHeaderToDestination
framework: avfoundation
role: symbol
role_heading: Type Property
path: avfoundation/avmoviewritingoptions/addmovieheadertodestination
---

# addMovieHeaderToDestination

The new movie header overwrites any existing movie header.

## Declaration

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

## Discussion

Discussion Only an existing movie header is overwritten, all other data is preserved. If the destination file is empty, a file type box is created at the beginning of the file.

## See Also

### Writing options

- [truncateDestinationToMovieHeaderOnly](avfoundation/avmoviewritingoptions/truncatedestinationtomovieheaderonly.md)
