<!--
{
  "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" : "Foundation",
  "identifier" : "/documentation/Foundation/NSNotification/Name-swift.struct/CKAccountChanged",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:@CKAccountChangedNotification"
  },
  "title" : "CKAccountChanged"
}
-->

# CKAccountChanged

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

```
static let CKAccountChanged: NSNotification.Name
```

## Discussion

Create an instance of <doc://com.apple.documentation/documentation/CloudKit/CKContainer> to receive this notification. The container posts the notification using an arbitrary queue. Use the <doc://com.apple.documentation/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)