ALAssetsLibrary seems to return wrong number of my photos

前端 未结 7 1068
梦毁少年i
梦毁少年i 2020-12-19 10:44

When I use ALAssetsLibrary to get local photos it works fine. But after I delete some photos with the \'Photos\' application my app crashes.

Crash info is:

相关标签:
7条回答
  • 2020-12-19 11:40

    For those of you who fill some NSArray with all the ALAssetRepresentations and don't want to change you code too much, simply filter your array with this Checker - AssetURLChecker

    Cheers!

    0 讨论(0)
提交回复
热议问题