How to access photo EXIF in pictures taken from camera in iOS 4.0+?

后端 未结 3 1643
北海茫月
北海茫月 2020-12-17 04:46

How do I access the EXIF info in a picture from the camera taken using the new 4.0/4.1 APIs?

I use _captureStillImageAsynchronouslyFromConnection_ to ta

相关标签:
3条回答
  • 2020-12-17 04:57

    This library could be of assistance.

    0 讨论(0)
  • 2020-12-17 05:03

    The Image I/O Framework which was introduced in iOS4 allows one to read EXIF properties from a picture according to the documentation.

    Link: CGImageSource Reference - have a look at the CGImageSourceCopyPropertiesAtIndex function.

    0 讨论(0)
  • 2020-12-17 05:20

    You will have to actually save the image to the Photo Library so that the EXIF data is added to the image. After that you can use ALAssetLibrary to retrieve the image along with the EXIF info.

    0 讨论(0)
提交回复
热议问题