enableUploadJobExtension(with:)
Enables the background asset resource upload job feature with the given options, atomically.
Declaration
func enableUploadJobExtension(with options: PHAssetResourceUploadJobOptions?) throwsParameters
- options:
The options to set for the newly enabled configuration, or
nilto use default values.
Discussion
The configuration is created with options already set, as a single change — unlike calling setUploadJobExtensionOptions(_:) afterward, as a separate change.