<!--
{
  "availability" : [
    "iOS: 16.0.0 -",
    "iPadOS: 16.0.0 -",
    "macCatalyst: -",
    "macOS: 11.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "FileProvider",
  "identifier" : "/documentation/FileProvider/NSFileProviderDomainDidChange",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "File Provider"
    ],
    "preciseIdentifier" : "c:@NSFileProviderDomainDidChange"
  },
  "title" : "NSFileProviderDomainDidChange"
}
-->

# NSFileProviderDomainDidChange

A notification that posts when a file provider’s domain changes.

```
extern NSNotificationName const NSFileProviderDomainDidChange;
```

## Discussion

The system only posts this notification after the first call to [`getDomainsWithCompletionHandler(_:)`](/documentation/FileProvider/NSFileProviderManager/getDomainsWithCompletionHandler(_:)). After receiving this notification, call [`getDomainsWithCompletionHandler(_:)`](/documentation/FileProvider/NSFileProviderManager/getDomainsWithCompletionHandler(_:)) again to determine what the changes are.

---

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)