Degraded image info should carry PHImageResultIsInCloudKey

Originator:an00na
Number:rdar://25681021 Date Originated:12-Apr-2016 11:02 AM
Status:Open Resolved:
Product:iOS SDK Product Version:9.3.1
Classification:Enhancement Reproducible:Always
 
With Opportunistic deliveryMode requestImageForAsset reports degraded image before full image whether the full image is in cloud or not.

But ideally the user experiences should be very different depending on whether the full image is in cloud:
1. If the full image is in cloud it usually takes a significant period of time to download the full image so apps should present the degraded image as a placeholder for that period.
2. If the full image is not in cloud it is immediately available just after the degraded image is reported so apps should NOT present the degraded image and immediately switch to the full image because it flashes the screen which is a bad user experience.

However currently there is no way to know whether the full image is in cloud or not before the full image is downloaded because there is no PHImageResultIsInCloudKey in the degraded image's info dict. So I suggest degraded image's info dict carry a PHImageResultIsInCloudKey to indicate whether the full image is in cloud.

Comments

"However currently there is no way to know whether the full image is in cloud or not" if iCloud has the image its always the original image/full sized image https://support.apple.com/en-au/HT204264

By dinesh.ku at Jan. 9, 2018, 7:26 a.m. (reply...)

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!