Contents

PHAssetResourceUploadJobChangeRequest

Use within an application’s com.apple.photos.background-upload extension to create and change Phassetresourceuploadjob records.

Declaration

class PHAssetResourceUploadJobChangeRequest

Overview

When the extension’s principal class receives a call to process background uploads, it can create new PHAssetResourceUploadJobs through calls to perform changes on a PHPhotoLibrary using PHAssetResourceUploadJobChangeRequest and any in-flight upload jobs can be handled by updating their state to mark them as acknowledged, or to be retried. The maximum number of jobs that can be in flight is limited to the PHAssetResourceUploadJob.jobLimit.

PHAssetResourceUploadJobChangeRequest can only be created or used within a photo library change block. For details on change blocks, see PHPhotoLibrary.

Topics

Creating a change request

Creating jobs

Processing jobs

Accessing details about the job

Deprecated

Initializers

See Also

Background resource upload extensions