A WKWebsiteDataRecord object represents website data grouped by the originating URL’s domain name and suffix.


class WKWebsiteDataRecord : NSObject


Inspecting the Data Record

var dataTypes: Set<String>

The types of website data that exist for this data record.

var displayName: String

The display name for the data record.


Available Data Types

String constants identifying the data types available in the data record. An app-selected set of these types is found in the dataTypes property.


Inherits From

Conforms To

See Also

Website Data

class WKWebsiteDataStore

A WKWebsiteDataStore object represents various types of data used by a chosen website. Data types include cookies, disk and memory caches, and persistent data such as WebSQL, IndexedDB databases, and local storage.