---
title: "enableUploadJobExtension(with:)"
framework: Photos
role: symbol
role_heading: Instance Method
platforms: [iOS 27.0+, iPadOS 27.0+, Mac Catalyst 27.0+, macOS 27.0+]
path: "photos/phphotolibrary/enableuploadjobextension(with:)"
---

# enableUploadJobExtension(with:)

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

## Declaration

```swift
func enableUploadJobExtension(with options: PHAssetResourceUploadJobOptions?) throws
```

## Parameters

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

## Discussion

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