image(at:)
Generates an image for a requested time.
Declaration
func image(at time: CMTime) async throws -> (image: CGImage, actualTime: CMTime)Parameters
- time:
A time in the asset timeline at which to create an image.
Mentioned in
Return Value
A tuple that contains the image and the time the asset was created.