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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software