Location data not stored in EXIF data
Brandon-316 opened this issue · comments
I have shouldUseLocationServices set to true but location data is still not appearing in EXIF data.
cameraManager.shouldUseLocationServices = true
When I use the following code to print the images EXIF data, location info is nowhere to be found.
cameraManager.capturePictureDataWithCompletion { (result) in
switch result {
case .failure:
self.cameraManager.showErrorBlock("Error occurred", "Cannot save picture.")
case .success(let content):
let ciimage = CIImage(data: content.asData!)
let metadata = ciimage?.properties
print("\npictureData metadata: \(metadata)")
}
}
Does location data only work with the camera roll or am I doing something wrong?
Thanks
just released v5.1.0 where this should be fixed.