title: Is CKAsset image metdata preserved?
body: <p>Just making sure I'm not missing something before I go implementing another way to store metadata for the images I upload as CKAssets. Right now I've added an extension to CKAsset like so:</p>
  
  <pre><code>
  extension CKAsset {
      func getMetadata() -&gt; [AnyHashable:Any]? {
          if let url = fileURL {
              let data = try? Data(contentsOf: url)
              let source = CGImageSourceCreateWithData(data as! CFMutableData, nil)
              let metadata = CGImageSourceCopyPropertiesAtIndex(source!, 0, nil) as? [CFString : Any]
              return metadata
          }
          return nil
      }
  }
  </code></pre>
  
  <p>But it seems to have wiped all the metadata apart from some very simple properties like width and height.</p>
  
  <p>Am I missing something or is the metadata not saved with a CKAsset?</p>