Contents

releaseKnownFolders(_:localizedReason:completionHandler:)

Asks the system to stop replicating the specified known folders in the domain.

Declaration

func releaseKnownFolders(_ knownFolders: NSFileProviderKnownFolders, localizedReason: String, completionHandler: @escaping  @Sendable ((any Error)?) -> Void)
func releaseKnownFolders(_ knownFolders: NSFileProviderKnownFolders, localizedReason: String) async throws

Discussion

Use this method to immediately disable replication of the specified known folders.

See Also

Syncing Desktop and Documents folders