title: Swift image i/o missing metaData
body: <p>I am using image I/O. I want take all metaData include <strong>kCGImagePropertyExifDateTimeDigitized</strong> and others.</p>
  <p>But I get very little information:</p>
  <pre><code>ColorModel = RGB;
  Depth = 8;
  Orientation = 6;
  PixelHeight = 3024;
  PixelWidth = 4032;
  ProfileName = &quot;Display P3&quot;;
  &quot;{Exif}&quot; =     {
      ColorSpace = 65535;
      PixelXDimension = 4032;
      PixelYDimension = 3024;
  };
  &quot;{JFIF}&quot; =     {
      DensityUnit = 0;
      JFIFVersion =         (
          1,
          0,
          1
      );
      XDensity = 72;
      YDensity = 72;
  };
  &quot;{TIFF}&quot; =     {
      Orientation = 6;
  };
  </code></pre>
  <p>Where is original date and time, digitized date and time or GPS cordination. Because my image have this metaData.</p>
  <p>My SWIFT code:</p>
  <pre><code>let TEST_IMAGE: String = &quot;IMG_6489.JPG&quot;
  let beach: UIImage = UIImage(named: TEST_IMAGE)!
  let imageData: Data = beach.jpegData(compressionQuality: 1)!
  
  let cgImgSource: CGImageSource = CGImageSourceCreateWithData(imageData as CFData, nil)!
  let uti: CFString = CGImageSourceGetType(cgImgSource)!
  let dataWithEXIF: NSMutableData = NSMutableData(data: imageData)
  let destination: CGImageDestination = CGImageDestinationCreateWithData((dataWithEXIF as 
  CFMutableData), uti, 1, nil)!
  
  let imageProperties = CGImageSourceCopyPropertiesAtIndex(cgImgSource, 0, nil)! as 
  NSDictionary
  let mutable: NSMutableDictionary = imageProperties.mutableCopy() as! NSMutableDictionary
  
  print(mutable)
  print(mutable[kCGImagePropertyExifDateTimeOriginal])
  </code></pre>