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

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

Open
chianglim opened this issue Dec 8, 2017 · 0 comments
Open

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

chianglim opened this issue Dec 8, 2017 · 0 comments

Comments

@chianglim
Copy link

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

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

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