trying to add location from a UIImage using Phasset:
// image is a variable like so: image: UIImage
var newAsset = PHAssetChangeRequest.creationRequestForAssetFromImage(image)
newAsset.location = CLLocation(latitude: coordinate.latitude, coordinate.longitude)
this code works, apparently -> save a new asset into the photo library with the good coordinate. I can see it in the library itself.
but when I use exif tools and similar, most of the time, GPS dictionnary is empty as if location was not set. (also, I noticed GPS info is not in exif format) so I guess, location information is also somewhere else...
so what's wrong with location property of PHAsset ? how can set properly location ?