Image Result Info Keys

Keys identifying information about an image loading result, used in the resultHandler block with the requestImage(for:targetSize:contentMode:options:resultHandler:) method.

Topics

Constants

let PHImageResultIsInCloudKey: String

A Boolean value indicating whether the photo asset data is stored on the local device or must be downloaded from iCloud. (NSNumber)

let PHImageResultIsDegradedKey: String

A Boolean value indicating whether the result image is a low-quality substitute for the requested image. (NSNumber)

let PHImageResultRequestIDKey: String

A unique identifier for the image request. (NSNumber)

let PHImageCancelledKey: String

A Boolean value indicating whether the image request was canceled. (NSNumber)

let PHImageErrorKey: String

An error that occurred when Photos attempted to load the image. (NSError)