---
title: preferencesIdentifier
framework: webkit
role: symbol
role_heading: Instance Property
path: webkit/webview-swift.class/preferencesidentifier
---

# preferencesIdentifier

The identifier of the receiver’s preferences.

## Declaration

```swift
var preferencesIdentifier: String! { get set }
```

## Discussion

Discussion It is fixed to the keys used to store the receiver’s preferences in the user defaults database. WebView objects can share instances of the WebPreferences class by using the same preferences identifier.

## See Also

### Related Documentation

- [autosaves](webkit/webpreferences/autosaves.md)

### Getting and Setting Preferences

- [preferences](webkit/webview-swift.class/preferences.md)
