Contents

saveToPreferences(completionHandler:)

Saves the manager’s configuration in the persistent store.

Declaration

func saveToPreferences(completionHandler: @escaping  @Sendable ((any Error)?) -> Void)
func saveToPreferences() async throws

Parameters

  • completionHandler:

    A completion block that the framework calls after it saves the configuration. If saving failed, the error parameter indicates the reason for the failure; otherwise, this parameter is nil.

See Also

Persisting manager settings