---
title: "SCDynamicStoreCopyNotifiedKeys(_:)"
framework: systemconfiguration
role: symbol
role_heading: Function
path: "systemconfiguration/scdynamicstorecopynotifiedkeys(_:)"
---

# SCDynamicStoreCopyNotifiedKeys(_:)

Returns the keys that have changed since the last call to this function.

## Declaration

```swift
func SCDynamicStoreCopyNotifiedKeys(_ store: SCDynamicStore) -> CFArray?
```

## Parameters

- `store`: The dynamic store session.

## Return Value

Return Value The keys that have changed, or NULL if an error occurred. You must release the returned value.

## Discussion

Discussion If possible, your application should use the notification functions instead of polling for the list of changed keys returned by this function.

## See Also

### Getting Keys and Values

- [SCDynamicStoreCopyKeyList(_:_:)](systemconfiguration/scdynamicstorecopykeylist(_:_:).md)
- [SCDynamicStoreCopyMultiple(_:_:_:)](systemconfiguration/scdynamicstorecopymultiple(_:_:_:).md)
- [SCDynamicStoreCopyValue(_:_:)](systemconfiguration/scdynamicstorecopyvalue(_:_:).md)
