I want to add GPS location data to Exif of UIImage

I want to add GPS location data to Exif of UIImage

GPS location data as Exif information in UIImage I want to give latitude and longitude. How should I implement it?

What is exactly the problem? EXIF Metadata include GPS, so it is easy to extract Lat and Long.

To write coordinates, have a look here: https://stackoverflow.com/questions/54678780/write-gps-metadata-to-exif-in-swift

To get the appropriate GPS keys, search for "kCGImagePropertyGPSLatitudeRef" in Xcode doc.

I want to add GPS location data to Exif of UIImage
 
 
Q