Contents

writeHeader(to:fileType:options:)

Writes the movie header to the specified URL.

Declaration

func writeHeader(to URL: URL, fileType: AVFileType, options: AVMovieWritingOptions = []) throws

Parameters

  • URL:

    The URL indicating where to write the movie header.

  • fileType:

    A UTI that indicates the specific file format for the movie header.

  • options:

    The Avmoviewritingoptions constants whose bits specify the options for writing the movie header.

See Also

Creating and writing headers