English 中文(简体)
是否真正没有办法从照片图书馆检索照片的原始档案名称?
原标题:Is there really no way to retrieve the original filename of a photo from the photo library ?
  • 时间:2012-01-14 00:21:36
  •  标签:
  • ios

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

但是,当我打电话时,它知道哪些情况已经yn合,因此,原始档案名称与新名字之间必须有联系?

最佳回答

保有权猜测:有可能让主人既知道原始档案名称,又知道在SiOS装置上使用的“同级”档案名称,而SOS只知道当地名称,因此无法检索SOS装置上的原始档案名称。

问题回答

该系统试图与许多顾问不同,因为它没有将内容的抽象化推向档案系统(档案、档案名称、文件夹等等)。 在某些情况下,继续走这条道路可能更好。





相关问题
List Contents of Directory in a UITableView

I am trying to list the contents of Ringtones directory in a TableView, however, I am only getting the last file in the directory in ALL cells, instead of file per cell. This is my code: - (...

iPhone NSUserDefaults persistance difficulty

In my app i have a bunch of data i store in the NSUserdefaults. This information consists of an NSObject (Object1) with NSStrings and NSNumbers and also 2 instances of yet another object (Object2). ...

Writing a masked image to disk as a PNG file

Basically I m downloading images off of a webserver and then caching them to the disk, but before I do so I want to mask them. I m using the masking code everyone seems to point at which can be found ...

Resize UIImage with aspect ratio?

I m using this code to resize an image on the iPhone: CGRect screenRect = CGRectMake(0, 0, 320.0, 480.0); UIGraphicsBeginImageContext(screenRect.size); [value drawInRect:screenRect blendMode:...

Allowing interaction with a UIView under another UIView

Is there a simple way of allowing interaction with a button in a UIView that lies under another UIView - where there are no actual objects from the top UIView on top of the button? For instance, ...

热门标签