Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于无法获取缓存图片的问题 #2336

Open
iAllenC opened this issue Dec 18, 2024 · 0 comments
Open

关于无法获取缓存图片的问题 #2336

iAllenC opened this issue Dec 18, 2024 · 0 comments

Comments

@iAllenC
Copy link

iAllenC commented Dec 18, 2024

我们的一款App工作模式为在线下载用户的相册后,使用kf的缓存展示相册。经常有用户反馈图片加载不成功。我们经过日志追踪发现走到了KingfisherError.imageNotExisting. 提示: The image is not in cache, but you requires it should only be " + "from cache by enabling the .onlyFromCache option. Key:
但是我们本身并没有主动传递过.onlyFromCache这个枚举,也就是说问题可能出在retrieveImageFromCache中,validCache返回了true,但是在后续取缓存图片时又没有获取到对应的图片,因此报了这个错。请问什么情况可能导致这种问题?在validCache为true的情况下却无法获取缓存图片?

我们正在使用7.12版本

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant