How to get a ALAssetRepresentation of a shared photostream ALAsset?

前端 未结 3 1300
渐次进展
渐次进展 2020-12-23 22:49

When I try to access pictures from a photo stream, sometimes the [asset defaultRepresentation] method returns nil.

According to the documentation this c

3条回答
  •  既然无缘
    2020-12-23 23:13

    I fall into same issue. I couldn't find a way to actually get the images. All you can do is not display images that have "defaultRepresentation" nil or drop support for Shared photos at all by calling [ALAssetsLibrary disableSharedPhotoStreamsSupport];

    Hope that helps

提交回复
热议问题