dmytro-anokhin / url-image

AsyncImage before iOS 15. Lightweight, pure SwiftUI Image view, that displays an image downloaded from URL, with auxiliary views and local cache.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Get a cached image url by remote URL

donly opened this issue · comments

commented

I know all the images cached under URLImageService.shared.diskCacheURL, is it possible to get a cached image file url by its remote URL?

URLImageService.shared.diskCacheURL is more of an introspection property, useful for debugging. In current version of the package you can get CGImage object, but not the file. Next version, hopefully released sometime soon, will allow accessing cached images.