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
  • 37,241
  • 25
  • 195
  • 267
ysknsn
  • 89
  • 2
  • 10

1 Answers1

0

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

Cœur
  • 37,241
  • 25
  • 195
  • 267
ysknsn
  • 89
  • 2
  • 10