<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FileProvider",
  "identifier" : "/documentation/FileProvider/NSFileProviderExtension/itemChanged(at:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "File Provider"
    ],
    "preciseIdentifier" : "c:objc(cs)NSFileProviderExtension(im)itemChangedAtURL:"
  },
  "title" : "itemChanged(at:)"
}
-->

# itemChanged(at:)

Tells the File Provider extension that a document has changed.

```
func itemChanged(at url: URL)
```

## Parameters

`url`

The URL of a shared document.

## Discussion

The system calls this method when a shared file’s content changes, typically in response to coordinated writes from the host app.

You must override this method and respond to these changes. Do not call `super` in your implementations.

In your implementation, defer all networking, asynchronous, or long-running operations to background tasks. For networking tasks, create a background <doc://com.apple.documentation/documentation/Foundation/URLSession> task, and then register the task with the file provider manager by calling the manager’s [`register(_:forItemWithIdentifier:completionHandler:)`](/documentation/FileProvider/NSFileProviderManager/register(_:forItemWithIdentifier:completionHandler:)) method.

---

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)