Yaman KJ
0
Q:

ios webview cache

// All kinds of data
var websiteDataTypes = WKWebsiteDataStore.allWebsiteDataTypes();
// Date from
dateFrom = NSDate.dateWithTimeIntervalSince1970(0);
// Execute
WKWebsiteDataStore.defaultDataStore().removeDataOfTypesModifiedSinceCompletionHandler( websiteDataTypes, dateFrom, ()=> {
    console.log("DONE!!!!!!!!!!!!!!!!!!!!!!")
});
0

New to Communities?

Join the community