Global Variable


A key whose value indicates whether the image request was canceled.


NSString *const PHImageCancelledKey;


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 you call the cancelImageRequest: method to cancel a request, Photos calls your result handler block with the value YES for this key.

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