kCGImageSourceShouldCache
A Boolean value that indicates whether to cache the decoded image.
Declaration
let kCGImageSourceShouldCache: CFStringDiscussion
The value of this key is a CFBoolean. The default value is kCFBooleanTrue for 64-bit architectures, and kCFBooleanFalse for 32-bit architectures.
Include this key in the options dictionary you pass to the functions CGImageSourceCopyPropertiesAtIndex(_:_:_:) and CGImageSourceCreateImageAtIndex(_:_:_:).