init(data:options:)
Creates a movie object from a movie file’s data.
Declaration
init(data: Data, options: [String : Any]? = nil)Parameters
- data:
A data object that contains a movie header.
- options:
A dictionary of options to use to initialize the movie.
Discussion
Use this method to create movies from movie headers that aren’t stored in files, which can include movies that the pasteboard contains.