SCPreferencesSynchronize(_:)
Synchronizes accessed preferences with committed changes.
Declaration
func SCPreferencesSynchronize(_ prefs: SCPreferences)Parameters
- prefs:
The preferences session.
Discussion
Any references to preference values returned by calls to SCPreferencesGetValue(_:_:) are no longer valid unless they were explicitly retained or copied. Any preference values that were updated (added, set, or removed), but not committed, are discarded.