我尝试使用方法requestImageForAsset获取照片。 使用选项:
auto options = [PHImageRequestOptions new];
options.resizeMode = PHImageRequestOptionsResizeModeFast;
options.networkAccessAllowed = YES
降级图像始终正确显示。但是在关键PHImageErrorKey的信息词典中这之后:
错误Domain = CloudPhotoLibraryErrorDomain Code = 25 " AbqGWakknY1m9XDzc0NwcDMDvxHE未知来自云计算" UserInfo = {NSLocalizedDescription = AbqGWakknY1m9XDzc0NwcDMDvxHE是 来自云端的未知}
答案 0 :(得分:0)
PHImageRequestOptions *options = [[PHImageRequestOptions alloc] init];
options.synchronous = YES;
options.networkAccessAllowed = YES;