<!--
{
  "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/PHPhotoLibrary/fetchPersistentChanges(since:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Photos"
    ],
    "preciseIdentifier" : "c:objc(cs)PHPhotoLibrary(im)fetchPersistentChangesSinceToken:error:"
  },
  "title" : "fetchPersistentChanges(since:)"
}
-->

# fetchPersistentChanges(since:)

Retrieves the Photos library changes since the token you specify.

```
func fetchPersistentChanges(since token: PHPersistentChangeToken) throws -> PHPersistentChangeFetchResult
```

## Parameters

`token`

The token that represents the state of the Photos library to compare against.

## Return Value

A fetch result that contains library change details; otherwise, an error that indicates why the fetch fails (for example, [`PHPhotosError.Code.persistentChangeTokenExpired`](/documentation/Photos/PHPhotosError-swift.struct/Code/persistentChangeTokenExpired)).

---

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)