title: UIActivityViewController - Facebook, works perfectly on simulator, but not on a device
body: <p>When I run through the Xcode simulator, I can post both a picture and a url. One a device, however, I get an entirely different dialog.</p>
  
  <p>I've used another example on here to illustrate the code</p>
  
  <pre><code>    let myWebsite = NSURL(string:"http://www.google.com/")
      let img: UIImage = imageView.image!
  
      guard let url = myWebsite else {
          print("nothing found")
          return
      }
  
      let shareItems:Array = [img, url]
      let activityViewController:UIActivityViewController = UIActivityViewController(activityItems: shareItems, applicationActivities: nil)
      activityViewController.excludedActivityTypes = [UIActivityTypePrint, UIActivityTypePostToWeibo, UIActivityTypeCopyToPasteboard, UIActivityTypeAddToReadingList, UIActivityTypePostToVimeo]
      self.presentViewController(activityViewController, animated: true, completion: nil)
  </code></pre>
  
  <p>On the simulator, the dialog comes up perfectly, and it posts both the picture and url to Facebook. </p>
  
  <p>When I run the exact same example on my phone, a totally different dialog comes up, where I'm asked to add a line ("say something about this") and then it posts this headline, along with the google url</p>
  
  <p>Interestingly enough, on the simulator, the url is posted as a url in Facebook, on the device, it's posted as a hyperlink.</p>
  
  <p>Ultimately, I would like the the image and the hyperlink to appear on Facebook. However, if I was able to get the image and the url to post, I would be thrilled.</p>
  
  <p>Has anyone had similar experiences?</p>