3 ms·
UIImagePickerController, which is used to take photos, does not return EXIF data. Apparently, it is possible to hack around this limitation, but Apple doesn't t
by aaronbrethorst 16y ago
UIImagePickerController, which is used to take photos, does not return EXIF data. Apparently, it is possible to hack around this limitation, but Apple doesn't take too kindly to this sort of behavior.
- vegashacker 16y agoDoes it matter though? The iOS app already asks to get your location information. It's that same location info that would go into the putative EXIF tag, so Color already has the info. Or is there something else in EXIF that would be relevant in this case?
- aaronbrethorst 16y agoThe user may have agreed to let the Camera app access their GPS data, but refused to let your app access their GPS data. For the case of Color, no it's not relevant. For the question posed by the (G?)GP, I think it is.
- kelnos 16y agoUIImagePickerController does indeed return EXIF data. In the delegate method: - (void)imagePickerController:(UIImagePickerController *)c didFinishPickingMediaWithInfo:(NSDictionary *)info you can retrieve a metadata dictionary from the 'info' dictionary. One of the keys in that dictionary is "{Exif}" which points to another dictionary that has all the EXIF data.