<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PhotoKit",
  "identifier" : "/documentation/Photos/PHPhotoLibrary/enableUploadJobExtension(with:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Photos"
    ],
    "preciseIdentifier" : "c:objc(cs)PHPhotoLibrary(im)enableUploadJobExtensionWithOptions:error:"
  },
  "title" : "enableUploadJobExtension(with:)"
}
-->

# enableUploadJobExtension(with:)

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

```
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(_:)`](/documentation/Photos/PHPhotoLibrary/setUploadJobExtensionOptions(_:)) afterward, as a separate change.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)