<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.10.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WebKit",
  "identifier" : "/documentation/WebKit/WKWebView/configuration",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "WebKit"
    ],
    "preciseIdentifier" : "c:objc(cs)WKWebView(py)configuration"
  },
  "title" : "configuration"
}
-->

# configuration

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

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

## 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:)`](/documentation/WebKit/WKWebView/init(frame:configuration:)) method, this property contains a default configuration object.

## See Also

[`WKWebViewConfiguration`](/documentation/WebKit/WKWebViewConfiguration)

A collection of properties that you use to initialize a web view.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)