Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

UIImagePickerController does not deliver geo tag data

When I use UIImagePickerController to select a photo, either from the Camera Roll or the Photo Library, the image that gets returned to me in the method

'didFinishPickingImage'

does not contain the exif data for latitude and longitude. I know that the headers are there, because they show up when imported into iPhoto, also if I upload images from the Camera Roll, they also contain the exif headers for location. Is there a way to get UIImagePickerController to deliver that information as well?

like image 502
Gregory Mace Avatar asked Dec 30 '25 22:12

Gregory Mace


2 Answers

It's up to you to geotag the image received from the UIImagePickerController, see my answer here : UIImagePickerController and extracting EXIF data from existing photos

like image 136
yonel Avatar answered Jan 02 '26 10:01

yonel


It seems that there is not. The UIImagePickerController incorrectly strips off the location tags, but they are there on the file (which you are not allowed to access as it's outside your sandbox).

See the discussion on Apple here: link text

And the comments on Flicker here: link text

like image 44
Jane Sales Avatar answered Jan 02 '26 12:01

Jane Sales