Contents

assetResource(forUploadJob:)

Returns the asset resource associated with the given upload job.

Declaration

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

Mentioned in

Return Value

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

Discussion

  • job: the upload job whose associated asset resource is returned