Contents

assetResource(forUploadJob:)

Returns the asset resource associated with the given upload job.

Declaration

class func assetResource(forUploadJob job: PHAssetResourceUploadJob) -> PHAssetResource?

Parameters

  • job:

    The upload job whose associated asset resource is returned

Mentioned in

Return Value

The asset resource associated with the upload job, or nil if the resource cannot be found.

See Also

Retrieving an Asset’s Data Resources