<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.11.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 3.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CloudKit",
  "identifier" : "/documentation/CloudKit/CKAccountChangedNotification",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "CloudKit"
    ],
    "preciseIdentifier" : "c:@CKAccountChangedNotification"
  },
  "title" : "CKAccountChangedNotification"
}
-->

# CKAccountChangedNotification

A notification that a container posts when the status of an iCloud account changes.

```
extern NSString * const CKAccountChangedNotification;
```

## Discussion

Create an instance of [`CKContainer`](/documentation/CloudKit/CKContainer) to receive this notification. The container posts the notification using an arbitrary queue. Use the [`accountStatus(completionHandler:)`](/documentation/CloudKit/CKContainer/accountStatus(completionHandler:)) method to obtain the account’s status.

---

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)