azzam223 Active Member Licensed User Longtime User Yesterday at 1:58 PM #1 hello how can i remove website memory cache i found this code B4X: struct ContentView: View { var body: some View { WebView(url: URL(string: "https://test.com")!) .edgesIgnoringSafeArea(.all) } } let websiteDataTypes = NSSet(array: [WKWebsiteDataTypeMemoryCache, WKWebsiteDataTypeDiskCache]) let date = Date(timeIntervalSince1970: 0) WKWebsiteDataStore.default().removeData(ofTypes: websiteDataTypes as! Set<String>, modifiedSince: date) { print("Cache cleared") how can i add it in inline object c
hello how can i remove website memory cache i found this code B4X: struct ContentView: View { var body: some View { WebView(url: URL(string: "https://test.com")!) .edgesIgnoringSafeArea(.all) } } let websiteDataTypes = NSSet(array: [WKWebsiteDataTypeMemoryCache, WKWebsiteDataTypeDiskCache]) let date = Date(timeIntervalSince1970: 0) WKWebsiteDataStore.default().removeData(ofTypes: websiteDataTypes as! Set<String>, modifiedSince: date) { print("Cache cleared") how can i add it in inline object c