Closed tzgd closed 5 months ago
You can use ImageResource:
UIImageView().kf.setImage(with: KF.ImageResource(downloadURL: URL(string: "your url")!, cacheKey: "your cacheKey"))
You can use ImageResource:
UIImageView().kf.setImage(with: KF.ImageResource(downloadURL: URL(string: "your url")!, cacheKey: "your cacheKey"))
多谢了
let cachePath = ImageCache.default.diskStorage.cacheFileURL(forKey: url.absoluteString)