PHAsset needs an explicit way to query if it was synced via iTunes/My Photo Stream

Originator:stephenpoletto
Number:rdar://18429060 Date Originated:23-Sep-2014 02:44 PM
Status:Open Resolved:
Product:iOS SDK Product Version:8.0
Classification: Reproducible:
 
Summary:
If a user is syncing photos using iTunes or My Photo Stream, a call to enumerate all PHAssets with the user's "moments" will return both the original version of a photo and the synced version (thumbnail). Developers need a way to deduplicate such content reliably. Right now, using -[PHAsset canPerformEditOperation:PHAssetEditOperationProperties] works as a solution (since only iTunes and My Photo Stream assets aren't editable), but a more explicit and well-supported API would be preferred.

Steps to Reproduce:
N/A

Expected Results:
N/A

Actual Results:
N/A

Version:
iOS 8.0

Notes:


Configuration:
iPhone 5

Attachments:

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!