---
title: configuration
framework: webkit
role: symbol
role_heading: Instance Property
path: webkit/wkwebview/configuration
---

# configuration

The object that contains the configuration details for the web view.

## Declaration

```swift
@NSCopying var configuration: WKWebViewConfiguration { get }
```

## Discussion

Discussion Use the object in this property to obtain information about your web view’s configuration. Because this property returns a copy of the configuration object, changes you make to that object don’t affect the web view’s configuration. If you didn’t create your web view using the init(frame:configuration:) method, this property contains a default configuration object.

## See Also

### Related Documentation

- [WKWebViewConfiguration](webkit/wkwebviewconfiguration.md)

### Creating a web view

- [init(frame:configuration:)](webkit/wkwebview/init(frame:configuration:).md)
- [init(coder:)](webkit/wkwebview/init(coder:).md)
