<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.13.0 -",
    "tvOS: 10.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PhotoKit",
  "identifier" : "/documentation/Photos/PHObjectChangeDetails/objectWasDeleted",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Photos"
    ],
    "preciseIdentifier" : "c:objc(cs)PHObjectChangeDetails(py)objectWasDeleted"
  },
  "title" : "objectWasDeleted"
}
-->

# objectWasDeleted

A Boolean value that indicates whether the object has been deleted from the Photos library.

```
var objectWasDeleted: Bool { get }
```

## Discussion

If this value is `true`, the asset or collection has been permanently deleted from the Photos library.

To instead track the removal of assets from collections (or collections from collection lists), fetch the collection’s contents and use the [`changeDetails(for:)`](/documentation/Photos/PHChange/changeDetails(for:)-33a6n) method to track changes to the fetch result.

---

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)