title: Change the preview image in an SLComposeServiceViewController
body: <p>I have created a Safari Share Extension where I get a specific image from the current URL. That part is done but now I am trying to replace the preview image on the SLComposeServiceViewController with the one I scraped from the URL. I cannot seem to find a way to change the preview image that is automatically generated by SLComposeServiceViewController</p>
  
  <p><a href="https://i.stack.imgur.com/PTj1Z.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PTj1Z.png" alt="enter image description here"></a></p>
  
  <p>How can I change this image?</p>
  
  <p>I've tried looking for at the <code>inputItems</code> property of <code>NSExtenstionContext</code> but only can see the URL in there.</p>
  
  <pre><code>extension NSExtensionContext {
    for item in self.inputItems {
      if let extenstionItem = item as? NSExtensionItem {
        print("attachments = \(extenstionItem.attachments)")
      }
    }
  }
  </code></pre>
  
  <p><code>attachments = Optional([&lt;NSItemProvider: 0x12d513e70&gt; {types = (
      "public.url"
  )}])</code></p>
  
  <p>I'm hoping that I can change this image without having to create my own view since this is the only change I need to make to the default.</p>
  
  <p>Even being able to hide the image placed there by default would be helpful!</p>