Removes the specified types of website data from the given data records.
SDKs
- iOS 9.0+
- macOS 10.11+
Framework
- Web
Kit
Declaration
func removeData(ofTypes dataTypes: Set<String>, for dataRecords: [WKWebsite Data Record], completionHandler: @escaping () -> Void)
Parameters
dataTypes
The website data types to be removed.
dataRecords
The data records to delete website data from.
completionHandler
The block to be invoked after the website data is removed.