title: Image of contacts is not fetching
body: <p>I am using this code to fetch contact image from device but its not printing any output. </p>
  
  <pre><code>if contact.isKeyAvailable(CNContactImageDataKey) {
      if let contactImageData = contact.thumbnailImageData {
          print("image \(String(describing: UIImage(data: contactImageData)))")
      } else {
          print("No image available")
      }
  } else {
      print("No Key image available")
  }
  </code></pre>
  
  <p>but it is printing only "No Key image available"  though some of my contacts have images . i tried imageData instead of thumbnailImageData but showing same results. </p>