how to get the url of image where image is stored? #1924
Closed
muhammadahmad665
started this conversation in
General
Replies: 3 comments
-
Maybe this and you can use it like: let url = ImageLoader.sampleImageURLs[indexPath.row]
let fileURL = KingfisherManager.shared.cache.diskStorage.cacheFileURL(forKey: url.cacheKey) But be careful, it just gives you a URL where the image "should" be in if it was cached. Remember to check the file existence every time before you actually use that URL to do your things. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
my image is set into cache by kingfisher I need the URL where this image is stored how to know that?
like FileURL?
thanks
Beta Was this translation helpful? Give feedback.
All reactions