fetchPersistentChanges(since:)
fetchPersistentChanges(since:)
fetchPersistentChanges(since:) Instance Method of PHPhotoLibrary Retrieves the Photos library changes since the token you specify.
func fetchPersistentChanges(since token: PHPersistentChangeToken) throws -> PHPersistentChangeFetchResultParameters
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).
Discussion