ios - Pick a photo by using iPad camera and get the file name -


I have to develop an iPad app in which I have to create a form and capture a picture using an iPad camera. The output of this app should be a CSV file, in which there is a correspondence between the photo and the data. I have estimate that I have to use the filenames of the pictures. My solution is to create a CSV with the following fields:

  name, surname, gender, city, mail, nation, image file name   

The question is: Is it possible to get an image file name after carrying it with an iPad camera?

It is not that the file name really matters so if the image is taken and the photo library , But if you use ALAssetsLibrary and save the image with writeImageToSavedPhotosAlbum: Orientation: Completion Block: Then you will see the Destination NSURL * assetURL , which you can split to get the filename.

Comments

Popular posts from this blog

Java - Error: no suitable method found for add(int, java.lang.String) -

java - JPA TypedQuery: Parameter value element did not match expected type -

c++ - static template member variable has internal linkage but is not defined -