Contents

default()

Returns the default data store, which stores data persistently to disk.

Declaration

class func `default`() -> WKWebsiteDataStore

Return Value

The default data store for websites.

Discussion

A web view configured with the default data store saves website data persistenly to disk. Use this data store to retain the state of web content between browsing sessions.

See Also

Creating a data store object