I'm trying to make sure to cover all my bases with regard to ALAssetsLibrary failing for whatever reason. In looking through the possible errors that could occur when calling:
- (void)enumerateGroupsWithTypes:usingBlock:failureBlock;
i noticed that ALAssetsLibraryDataUnavailableError, but there isn't much information about what might cause this. I want to show an error screen accordingly.
Any insight would be appreciated. Thanks!
I encountered the ALAssetsLibraryDataUnavailableError in 3 cases:
I would recommend to display a message to the user, you run into this error, recommending: 1. To open the photos app...this usually fixes an inconsistent library. 2. If that doesn't help to reboot the Device and sync with iTunes one time.
Cheers,
Hendrik
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With