Instance Property


A Boolean value that determines whether Photos processes the image request synchronously.


var isSynchronous: Bool { get set }


If false (the default), the requestImage(for:targetSize:contentMode:options:resultHandler:) method returns immediately. Depending on the deliveryMode property, Photos may call your resultHandler block before the method returns, at some later time, or both.

If true, the requestImage(for:targetSize:contentMode:options:resultHandler:) method blocks the calling thread until image data is ready or an error occurs. Photos calls your result handler block exactly once.

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