PHAsset needs a property to retrieve the underlying file name

Originator:ryan
Number:rdar://18414976 Date Originated:22-Sep-2014 11:25 AM
Status:Duplicate of 17288403 Resolved:24-Sep-2014 04:03 PM
Product:iOS SDK Product Version:8.0
Classification:Enhancement Reproducible:Always
 
Photos loaded in via either iTunes or the camera connection kit often benefit from being able to access the original file's file name. This is possible in the AssetsLibrary framework with this basic code:

ALAssetRepresentation *rep = [asset defaultRepresentation];
NSString *name = [rep filename];

There does not appear to be any current method or property to retrieve this information on PHAsset or any other class in the framework.

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!