Initializer

init(asset:)

Creates an image generator for use with a specified asset.

Declaration

init(asset: AVAsset)

Parameters

asset

The asset from which images will be extracted.

Return Value

An image generator initialized for use with asset.

Discussion

This method may succeed even if the asset possesses no visual tracks at the time of initialization.

See Also