PHAssetResourceUploadJob
An object that represents a request to upload an asset resource.
Declaration
class PHAssetResourceUploadJobOverview
Use within an application’s com.apple.photos.background-upload extension to request an upload of a PHAssetResource to a destination NSURLRequest.
When the extension’s principal class receives a call to process() background uploads, it can create new PHAssetResourceUploadJob objects using PHAssetResourceUploadJobChangeRequest.
The maximum number of jobs that can be in flight is limited to the jobLimit. To make space for new jobs, you must call PHAssetResourceUploadJobChangeRequest/fetchJobsWithAction:options: and retry/acknowledge them with PHAssetResourceUploadJobChangeRequest/acknowledge: or retry(destination:) respectively.