Closed cooler333 closed 4 years ago
now it's look like this
var error: NSError? = nil
let cacheSize = YMKMapView.calculateCacheSize(&error)
if error != nil {
print(error)
} else {
print(cacheSize)
// Set maps max disk cache to 100 mb.
if cacheSize > 100_000_000 {
YMKMapView.clearCache()
}
}
App documents & data folder tooo huge.
Please add cache control system like in Kingfisher
e.g: