Contents

configuration

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

Declaration

@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:) method, this property contains a default configuration object.

See Also

Related Documentation

Creating a web view