---
title: "SCPreferencesApplyChanges(_:)"
framework: systemconfiguration
role: symbol
role_heading: Function
path: "systemconfiguration/scpreferencesapplychanges(_:)"
---

# SCPreferencesApplyChanges(_:)

Requests that the currently stored configuration preferences be applied to the active configuration.

## Declaration

```swift
func SCPreferencesApplyChanges(_ prefs: SCPreferences) -> Bool
```

## Parameters

- `prefs`: The preferences session.

## Return Value

Return Value TRUE if the lock was obtained; FALSE if an error occurred.

## See Also

### Applying and Committing Changes

- [SCPreferencesCommitChanges(_:)](systemconfiguration/scpreferencescommitchanges(_:).md)
- [SCPreferencesSynchronize(_:)](systemconfiguration/scpreferencessynchronize(_:).md)
