我需要将使用 PHCachingImageManager 保存的资产的文件位置和名称传递给我的 Web 服务器。
我在文档中看不到有关如何以及在何处检索它的任何内容。
我在用
self.imageManager = [[PHCachingImageManager alloc] init];
[self.imageManager startCachingImagesForAssets:assetResult targetSize:targetSize contentMode:PHImageContentModeAspectFit options:imageRequestOptions];
我可以检索图像
[self.imageManager requestImageForAsset:asset
targetSize:mySize
contentMode:PHImageContentModeAspectFill
options:nil
resultHandler:^(UIImage *result, NSDictionary *info) {
cell.imageView.image = result;
}];
但我不知道如何获取实际的缓存详细信息