问题
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?
回答1:
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
来源:https://stackoverflow.com/questions/25945002/how-to-enumerate-all-photos-on-ios-8-using-alassetslibrary