<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: 16.0.0 -",
    "macOS: 13.0.0 -",
    "tvOS: 16.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PhotoKit",
  "identifier" : "/documentation/Photos/PHPersistentChange/changeDetails(for:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Photos"
    ],
    "preciseIdentifier" : "c:objc(cs)PHPersistentChange(im)changeDetailsForObjectType:error:"
  },
  "title" : "changeDetails(for:)"
}
-->

# changeDetails(for:)

Returns the change history that contains the local identifiers for object inserts, updates, and deletes.

```
func changeDetails(for objectType: PHObjectType) throws -> PHPersistentObjectChangeDetails
```

## Parameters

`objectType`

The type of object to request change details for.

## Return Value

An object that represents the change details.

---

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)