saveToPreferences(completionHandler:)
Saves the manager’s configuration in the persistent store.
Declaration
func saveToPreferences(completionHandler: @escaping @Sendable ((any Error)?) -> Void)func saveToPreferences() async throwsParameters
- completionHandler:
A completion block that the framework calls after it saves the configuration. If saving failed, the
errorparameter indicates the reason for the failure; otherwise, this parameter isnil.