Instance Property


The website data store to be used by the web view.


var websiteDataStore: WKWebsiteDataStore { get set }


If a web view is associated with a nonpersistent data store, no data is written to the file system. This property implements private browsing in a web view. See WKWebsiteDataStore.

See Also

Configuring the New Web View’s Properties

var applicationNameForUserAgent: String?

The name of the application as used in the user agent string.

var preferences: WKPreferences

The preference object to be used by the web view.

var processPool: WKProcessPool

The process pool from which to obtain the view’s Web Content process.

var userContentController: WKUserContentController

The user content controller to associate with the web view.