CGImageSourceGetStatusAtIndex(_:_:)
Returns the current status of an image at the specified location in the image source.
Declaration
func CGImageSourceGetStatusAtIndex(_ isrc: CGImageSource, _ index: Int) -> CGImageSourceStatusParameters
- isrc:
The image source that contains the image data.
- index:
The zero-based index into the images of the image source. If the index is invalid, this method returns
NULL.
Return Value
Returns the current status of the image. See CGImageSourceStatus for a list of possible values.
Discussion
Status information is particularly informative for incremental image sources, but you may also use it on image sources that contain non-incremental data.