title: How to download from Apple's QuickLook link scheme "x-apple-ql-magic"?
body: <p><em><strong>TL;DR</strong> - I want to download a .csv and other files from a link, and present a UIActivityViewController.</em></p>
  
  <p>I'm working in an app with lots of WKWebViews. In one of the delegate methods, <code>decidePolicyForNavigationAction:</code>, the available URL is a URL compatible with URLRequests, and I can download just fine from it. (<code>navigationAction.request.url</code>)</p>
  
  <p>In <em>another</em> delegate method <code>decidePolicyForNavigationResponse:</code> the response's url (<code>navigationResponse.response.url</code>) identifies as part of Apple's QuickLook framework scheme, and contains this: <code>x-apple-ql-magic</code>. I was trying to use a <code>QLPreviewController</code>, but couldn't populate the dataSource with a remote file I wanted to download.</p>
  
  <p>My goal is: When a link points to a downloadable file, like a .csv or PDF, give a user the option to share this file via <code>UIActivityViewController</code>.</p>
  
  <p><strong>How can I download remote files from this scheme: <code>x-apple-ql-magic</code>?</strong></p>