---
title: preferences
framework: webkit
role: symbol
role_heading: Instance Property
path: webkit/wkwebviewconfiguration/preferences
---

# preferences

The object that manages the preference-related settings for the web view.

## Declaration

```swift
var preferences: WKPreferences { get set }
```

## Discussion

Discussion Use the preferences object in this property to customize the rendering, JavaScript, and other preferences related to your web view. You can also change the preferences by assigning a new WKPreferences object to this property.

## See Also

### Configuring the web view’s preferences

- [defaultWebpagePreferences](webkit/wkwebviewconfiguration/defaultwebpagepreferences.md)
