ios 8, how to get all photos using ALAssetLibrary to replace the missing camera roll album

倾然丶 夕夏残阳落幕 提交于 2019-12-03 05:42:49

Alright, so seems like it was just a bug, and iOS 8.0.2 fixed it (at least for me, as I can now see all the photos in the image picker).

This release contains improvements and bug fixes, including:

[...] Fixes an issue that prevented some apps from accessing photos from the Photo Library. [...]

I'm having the same issue. Couldn't found proper documentation saying that the Assets Library doesn't have access to those photos anymore, but the Release Notes for iOS 8 says you can use the PhotosFramework for that. Haven't tested yet though.

The Photos framework (Photos.framework) provides new APIs for working with photo and video assets, including iCloud Photos assets, that are managed by the Photos app. This framework is a more capable alternative to the Assets Library framework.

Maybe that means we have to use it on iOS 8+ ?

UPDATE: Not being able to access all photos is a bug on iOS 8.0 and it was fixed on 8.0.2. See my other answer below.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!