0

Alamofire saves images to cache.

Rather then resetting all cache images like this.

 UIImageView.af_sharedImageDownloader.imageCache?.removeAllImages()
 UIImageView.af_sharedImageDownloader.sessionManager.session.configuration.urlCache?.removeAllCachedResponses()

I would like to reset the cache of a specific URL in Swift 4

How can i accomplish this?

husharoonie
  • 431
  • 1
  • 4
  • 19

0 Answers0