PHImageManager can not fetch some original images of shared iCloud streams

Originator:an00na
Number:rdar://21026406 Date Originated:19-May-2015 04:40 PM
Status:Open Resolved:
Product:iOS SDK Product Version:8.3
Classification:Serious Bug Reproducible:Sometimes
 
Summary:
requestImageDataForAsset or requestImageForAsset: with targetSize PHImageManagerMaximumSize returns nil data or image for many images of shared iCloud streams.

I’m using traditional iCloud stream and none of my devices turn on iCloud Photo Library. I’m not sure whether this bug also exists in that environment. Please test in a similar environment to mine.

Steps to Reproduce:
1. Launch sample app the first time.
2. Grant premission.
3. Launch sample app again.
4. Read console logs: (album name, asset index in album, fail or succeed).

Sample code:
http://cl.ly/1t3h103a0g1K

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!