---
title: autosaves
framework: webkit
role: symbol
role_heading: Instance Property
path: webkit/webpreferences/autosaves
---

# autosaves

A Boolean that indicates whether or not the receiver’s attributes are automatically stored in the user defaults database.

## Declaration

```swift
var autosaves: Bool { get set }
```

## Discussion

Discussion true if the receiver’s attributes are automatically stored, false otherwise. The default value is false.
