Type Alias


A numeric identifier for an asynchronous image request.


typealias PHImageRequestID = Int32


Pass this identifier to the cancelImageRequest(_:) method if you need to cancel a request before it completes.

See Also

Canceling a Request

func cancelImageRequest(PHImageRequestID)

Cancels an asynchronous request

let PHInvalidImageRequestID: PHImageRequestID

A special value provided for asynchronous image requests that cannot be canceled.

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