Contents

enableUploadJobExtension(with:)

Enables the background asset resource upload job feature with the given options, atomically.

Declaration

func enableUploadJobExtension(with options: PHAssetResourceUploadJobOptions?) throws

Parameters

  • options:

    The options to set for the newly enabled configuration, or nil to use default values.

Discussion

The configuration is created with options already set, as a single change — unlike calling setUploadJobExtensionOptions(_:) afterward, as a separate change.