2

I found some interesting topics, such as : - How to get a photo's original filename in iOS? or : - Retrieving a filename for an ALAsset

but it says that you can read the local filename of the picture, but not the original name from the source image. Indeed, on ios, the pictures are renamed to :

/var/mobile/Media/DCIM/XXXAPPLE/IMG_XXXX.JPG ou .PNG

but when I sync my phone, itunes knows which pictures are already synced, so there must be a link between the original filename and the new ?

Community
  • 1
  • 1
Diwann
  • 888
  • 1
  • 8
  • 28

2 Answers2

1

Pure speculation: it's possible that iTunes could know both the original filename and the "synched" filename that is used on the iOS device, while iOS knows only the local name, which would make it impossible to retrieve the original filename on the iOS device.

Stephen P
  • 14,422
  • 2
  • 43
  • 67
0

iOS tries to be different than many OSes in that it does not push the abstraction of content into filesystem (files, filenames, folders and so on). In some situations it might be better to continue on this path.

Jonny
  • 15,955
  • 18
  • 111
  • 232