Reading the GPS data from the image returned by the camera in iOS iphone

后端 未结 9 1299
余生分开走
余生分开走 2020-11-29 21:36

I need to get the GPS coordinates of an image taken with the iOS device\'s camera. I do not care about the Camera Roll images, just the image taken with UIImagePickerControl

9条回答
  •  独厮守ぢ
    2020-11-29 22:19

    One possibility is to leaving CoreLocation running when the camera is visible. Record each CCLocation into an array along with the time of the sample. When the photo comes back, find its time, then match the closest CClocation from the array.

    Sounds kludgy but it will work.

提交回复
热议问题