3

I'm trying to local storage enable. But in iOS8, I can't find how to do it.

let configuration = WKWebViewConfiguration()

if #available(iOS 9.0, *) {
    configuration.websiteDataStore = WKWebsiteDataStore.defaultDataStore()
} else {
    //??
}
Cœur
  • 32,421
  • 21
  • 173
  • 232
ysknsn
  • 77
  • 1
  • 9

1 Answers1

0

In iOS 8 it seems that local storage is enabled by default.

Cœur
  • 32,421
  • 21
  • 173
  • 232
ysknsn
  • 77
  • 1
  • 9