---
title: close()
framework: gamesave
role: symbol
role_heading: Instance Method
path: gamesave/gamesavesynceddirectory/close()
---

# close()

Closes the directory, and resumes syncing the directory to the cloud.

## Declaration

```swift
func close()
```

## See Also

### Finishing with a directory

- [triggerPendingUpload()](gamesave/gamesavesynceddirectory/triggerpendingupload().md)
