We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 914daec commit b1e2fe6Copy full SHA for b1e2fe6
PodcastMenu/ImageCache.swift
@@ -26,7 +26,7 @@ final class ImageCache {
26
let filebase = imageUrl.path.replacingOccurrences(of: "/", with: "_")
27
let filename = filebase + "-" + imageUrl.lastPathComponent
28
29
- let path = NSSearchPathForDirectoriesInDomains(.cachesDirectory, .userDomainMask, true).first! + "/" + filename + "-" + imageUrl.lastPathComponent
+ let path = NSSearchPathForDirectoriesInDomains(.cachesDirectory, .userDomainMask, true).first! + "/" + Bundle.main.bundleIdentifier! + "/ImageCache/" + filename + "-" + imageUrl.lastPathComponent
30
31
return URL(fileURLWithPath: path)
32
}
0 commit comments