Type Method

nonPersistent()

Returns a new nonpersistent data store.

Declaration

class func nonPersistent() -> WKWebsiteDataStore

Discussion

No data is written to the file system if the the web view is associated with a nonpersistent data store. This method implements “private browsing” in a web view.

See Also

Retrieving a Data Store

class func `default`() -> WKWebsiteDataStore

Returns the default data store.