1and2papa / CTAssetsPickerController

iOS control that allows picking multiple photos and videos from user's photo library.
MIT License
2.15k stars 550 forks source link

请问如何处理照片资源未从iCloud下载的场景? #251

Open chianglim opened 6 years ago

chianglim commented 6 years ago
    [[PHImageManager defaultManager] requestImageDataForAsset:asset options:imageRequestOptions resultHandler:^(NSData * _Nullable imageData, NSString * _Nullable dataUTI, UIImageOrientation orientation, NSDictionary * _Nullable info) {
        if(imageData.length == 0){
         NSLog(@"该照片尚未从ICloud下载");
         }
     }];

目前我是这么做的 但是有很大的性能问题 ,不知楼主有什么好的方式没