Type Alias

PHImageRequestID

A numeric identifier for an asynchronous image request.

Declaration

typealias PHImageRequestID = Int32

Discussion

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.