Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to enumerate all photos on iOS 8 using ALAssetsLibrary

iOS 8 broke lots of apps by removing "Camera Roll" from the ALAssetsLibrary enumerating API. I know I can get all photos using the new Photos framework. But my app has a lot of code depending on ALAsset related classes and I need to keep iOS 7 support. Is there a way to enumerate all photos using ALAssetsLibary on iOS 8, without enumerating asset group first?

like image 903
Haitao Li Avatar asked Sep 20 '14 03:09

Haitao Li


1 Answers

Apple just released 8.0.1 and listed this as a included fix. Might just be best to wait for that.

From the 8.0.1 release notes: Fixes an issue that prevented some apps from accessing photos from the Photo Library

like image 158
scosman Avatar answered Oct 15 '22 20:10

scosman