---
title: CKAccountChanged
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/nsnotification/name-swift.struct/ckaccountchanged
---

# CKAccountChanged

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

## Declaration

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

## Discussion

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