title: UIActivityController to share URL file
body: <p>I want to share an URL file that has been created in the app and a text. But it seems it only can share text and not any data like URL or <code>UIImage</code>.
  The code I am using:</p>
  
  <pre><code>let sharedVideo = Video(Title: _data[1], VideoID: _data[0], Duration: _data[3], ViewCount: _data[2])
  let  sharedURL = VideoManager.exportData(video: sharedVideo)
  let shareItems:Array = [sharedURL,"check this out baby!"] as [Any]
  
  let activityViewController = UIActivityViewController(activityItems: shareItems, applicationActivities: nil)
  
  self.present(activityViewController, animated: true, completion: nil)
  </code></pre>
  
  <p>Also I use an <code>UIImage</code> object instead of sharedURL to see If it has problem with URL or not. </p>
  
  <p>It doesn't work even with an image file. When I click on share button inside <code>UIActivityViewController</code>, It works just for text, no URL nor image.
  I am using <strong>Swift 3</strong> in <strong>Xcode 8</strong>.</p>
  
  <p>Thanks.</p>
  
  <p>PS: I am sure about sharedURL object that it isn't nil nor undefined.      </p>