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

当我获取缓存到本地图片的地址时,发现返回的地址和实际的缓存地址不相符。 #249

Open
ericdayang opened this issue Nov 10, 2021 · 0 comments

Comments

@ericdayang
Copy link

NSString *key = [[YYWebImageManager sharedManager] cacheKeyForURL:[NSURL URLWithString:url]];
return [[YYWebImageManager sharedManager].cache.diskCache cachePathForKey:key];
使用此代码获取本地图片地址在:
Library/Caches/com.ibireme.yykit/images/0cafbf7b0ed13b05fd202a69ce29f1ad
但是实际的地址在:
Library/Caches/com.ibireme.yykit/images/data/0cafbf7b0ed13b05fd202a69ce29f1ad

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