<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PhotoKit",
  "identifier" : "/documentation/Photos/PHPhotosError-swift.struct/relinquishingLibraryBundleToWriter",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "Photos"
    ],
    "preciseIdentifier" : "s:SC13PHPhotosErrorLeV34relinquishingLibraryBundleToWriterSoAAVvpZ"
  },
  "title" : "relinquishingLibraryBundleToWriter"
}
-->

# relinquishingLibraryBundleToWriter

An error that indicates the photo library isn’t available because the user moves, renames, or deletes the system’s photo library.

```
static var relinquishingLibraryBundleToWriter: PHPhotosError.Code { get }
```

---

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)