devedbox / AXWebViewController

AXWebViewController is a webViewController to browse web content inside applications. It’s a lightweight controller on iOS platform based on WKWebView (UIWebView would be the base Kit under iOS 8.0). It added navigation tool bar to refresh, go back, go forward and so on. It support the navigation style on WeChat. It is a simple-using and convenient web view controller using inside applications.
MIT License
798 stars 134 forks source link

cleanCache时崩溃 #99

Open luzizheng opened 4 years ago

luzizheng commented 4 years ago

NSSet websiteDataTypes = [WKWebsiteDataStore allWebsiteDataTypes]; NSDate dateFrom = [NSDate dateWithTimeIntervalSince1970:0]; [[WKWebsiteDataStore defaultDataStore] removeDataOfTypes:websiteDataTypes modifiedSince:dateFrom completionHandler:nil];

websiteDataTypes为nil时崩溃