iOS8 Photos Framework: How to get the name(or filename) of a PHAsset?

后端 未结 7 1172
野趣味
野趣味 2020-11-28 10:06

Im trying to get the image name using PHAssets. But I couldn\'t find metadata for filename or any method to get the image name. Is there a different way to get

7条回答
  •  野性不改
    2020-11-28 10:25

    One more option is:

    [asset valueForKey:@"filename"]
    

    The "legality" of this is up to you to decide.

提交回复
热议问题