Global Variable

PHImageResultIsDegradedKey

A key whose value indicates whether the result image is a low-quality substitute for the requested image.

Declaration

let PHImageResultIsDegradedKey: String

Discussion

This key provides information about an image loading result in the resultHandler block for methods listed in Requesting Images. The corresponding value is an NSNumber object containing a Boolean value.If true, the result parameter of your resultHandler block contains a low-quality image because Photos could not yet provide a higher-quality image. Depending on your settings in the PHImageRequestOptions object that you provided with the request, Photos may call your result handler block again to provide a higher-quality image.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software