Type Method

movieWithURL:options:

Returns a movie object from a movie header stored in a QuickTime movie file of ISO base media file.

Declaration

+ (instancetype)movieWithURL:(NSURL *)URL options:(NSDictionary<NSString *,id> *)options;

Parameters

URL

The URL that points to a file containing a movie header.

options

A dictionary that contains key for specifying the movie object initialization. Currently, no keys are defined.

Return Value

An AVMovie object.

Discussion

On initialization, the defaultMediaDataStorage property and any associated mediaDataStorage properties are set to nil.

See Also

Initializing a Movie

- initWithURL:options:

Creates a movie object from a movie header stored in a QuickTime movie file of ISO base media file.

- initWithData:options:

Creates a movie object from a movie stored in an NSData object.

+ movieWithData:options:

Returns a movie object from a movie stored in an NSData object.