简体   繁体   中英

On iOS 8, ​​the ALAssetsLibrary does not show all the “Saved Photos” but only the “Recently added”

In my apps I've always used the library photopicker-ios to show a picker of photos/videos. It has a few unique features not found Apple's implementation UIImagePickerController .

It makes use of the ALAssetsLibrary and, specifically, ALAssetsGroupSavedPhotos , which until iOS 7 correctly showed all the "Saved Photos" (and videos) on the device. With iOS 8, however, the album "Saved Photos" was replaced by "Recently added", showing only photos and videos taken in the last 30 days.

In my knowledge, this new limitation is not documented. Do we have any confirmation? In the meantime, can we take some workaround?

The problem is no longer present on iOS 8.0.2. Therefore, it was a bug in iOS 8.0.

UPDATE: This supposition is confirmed by the changelog :

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM