title: Sharing image using UIActivityViewController
body: <p>Sharing a image from <code>UIImageView</code> using <code>UIActivityViewController</code>?</p>
  
  <p>I am trying to share a image using <code>UIActivityViewController</code>, but I get error:</p>
  
  <pre><code>func shareIMG(){
      let activityItems = [self.imageView.image]
      let avc = UIActivityViewController(activityItems: activityItems, applicationActivities: nil)
  
      self.presentViewController(avc, animated: true, completion: nil)
  }
  </code></pre>
  
  <p>Error message:</p>
  
  <blockquote>
    <p>Cannot find an initializer for type 'UIActivityViewController' that
    accepts an argument list of type '(activityItems: [UIImage?],
    applicationActivities: nil)'</p>
  </blockquote>
  
  <p>Any ideas?</p>