Instance Method

cancelAllCGImageGeneration

Cancels all pending image generation requests.

Declaration

- (void)cancelAllCGImageGeneration;

Discussion

This method calls the handler block with AVAssetImageGeneratorCancelled for each image time in every previous invocation of generateCGImagesAsynchronouslyForTimes:completionHandler: for which images have not yet been supplied.

See Also

Generating Images

- copyCGImageAtTime:actualTime:error:

Returns an image for the asset at or near a specified time.

- generateCGImagesAsynchronouslyForTimes:completionHandler:

Creates a series of image objects for an asset at or near specified times.

AVAssetImageGeneratorCompletionHandler

A block that you use to receive thumbnail images generated from an asset.

AVAssetImageGeneratorResult

The statuses indicating the outcome of image generation.