cancelAllCGImageGeneration()
Cancels all pending image generation requests.
Declaration
func cancelAllCGImageGeneration()Discussion
Calling this method invokes the handler block with a result of AVAssetImageGenerator.Result.cancelled for all requested times for which the generator hasn’t yet produced an image.