title: iOS 14 NSItemProvider loadDataRepresentation() returns nil data for specified types
body: <p><strong>Setup:</strong></p>
  <p>I am using <code>PHPickerViewController</code> to allow the user to select photos. I've implemented the <code>PHPickerViewControllerDelegate</code> protocol method <code>picker(_ picker: PHPickerViewController, didFinishPicking results: [PHPickerResult])</code>. I am getting the <code>itemProvider</code> from the results array.</p>
  <p><strong>Problem:</strong></p>
  <p>I need to access the data for the selected image. There is a method on <code>NSItemProvider</code> called <code>loadDataRepresentation()</code>, which takes a type identifier string and should return the image data in its completion block.</p>
  <p>When I call this method sometimes it returns data, sometimes it doesn't. I've tried this for the multiple registered type identifiers for each provider, and I'm seeing the same thing. Sometimes it will return JPEG data, but not HEIF, other times only HEIF, and sometimes it won't return any data at all. This is consistent in that the same photo exhibits the same result each time I try to load its data.</p>
  <p>When there is no data I see the following error:</p>
  <pre><code>Upload preparation for claim D8C281B7-CCCE-4299-95BF-9355FCF340E4 completed with error: Error Domain=NSCocoaErrorDomain Code=260 &quot;The file “7AB1AB3F-7643-45C1-9DD9-5F5642965C3A.jpeg” couldn’t be opened because there is no such file.&quot;
  </code></pre>
  <p>Is there something I need to do to the photo before attempting to load its data? Maybe I'm missing a step here? This happens for photos I took directly with my iPhone XR. I am not using iCloud Photos, all photos are on the device.</p>