title: How to paste image from pasteboard on UITextView?
body: <p>I have the following code on a keyboard extensión</p>
  
  <pre><code>let pasteboard = UIPasteboard.generalPasteboard()
  var image = UIImage(named: "myimage");
  pasteboard.image = image;
  </code></pre>
  
  <p>This doesn't work on a <code>UITextView</code> I have on my container application, paste context menu never shows up. It works on other applications like "messages" but not on mine. </p>
  
  <p>My code works if I try to paste text instead of an image using <code>string</code> property so I'm quite near.</p>
  
  <p>I could need to set up my text view different but I don't know how. I've changed "Text" from "Plain" to "Attributed" but still not working.</p>