Has anyone experienced crashes when using ALAssetsLibrary in a background thread?

后端 未结 4 1558
死守一世寂寞
死守一世寂寞 2021-02-15 13:41

I have an ios app which has not crashed in this way on ios 5 which is now crashing consistently on ios 6 on startup after 4 or 5 bg/fg cycles. I\'ve traced the issue to my invo

4条回答
  •  礼貌的吻别
    2021-02-15 14:17

    I suffered same issue:

    For short: While the ALAssetsLibrary instance is enumerating with types or the ALAssetsGroup instaces enumerated last step are enumerating assets, the ALAssetsLibrary instance and the ALAssetsGroup instances should never been changed before all the enumerating blocks are finished.

提交回复
热议问题