title: How do I customize a UIActivityViewController to show a URL link when posting to facebook and twitter?
body: <p>So I'm trying out the new <code>UIActivityViewController</code> in iOS 6, and it's really easy to get up and running, but I can't figure out how to control it like I want.  So I want to post a link to an article and I also want to attach an image for the link. I DON'T want that image uploaded to some facebook album, just as a URL thumbnail.</p>
  
  <p>This is easy to accomplish in the facebook SDK as they give full control for it, but is there a way to do it with the <code>UIActivityViewController</code>?  Here's what I got:</p>
  
  <pre><code>    NSArray *activityItems = @[[NSURL URLWithString:[article link]], [UIImage imageNamed:@"myStockImage"]];
      UIActivityViewController *viewCont = [[UIActivityViewController alloc] initWithActivityItems:activityItems applicationActivities:nil];
      [self presentViewController:viewCont animated:YES completion:nil];
  </code></pre>
  
  <p>And this works, but it uploads the image to an 'iOS album'. If I don't add the image in the array, then the facebook sheet looks like it's blank and the attachment shows a grayed out safari logo (like the thumbnail is missing!)  In safari when you try to Facebook a link, it uses a screen grab of the page as the thumbnail, I want to do something like that</p>
  
  <p>UPDATE : </p>
  
  <p>So here's what it looks like from my app (using UIActivityViewController or the SLCompose way).  See how it is going to upload the picture to a photo album <code>iOS Photos</code></p>
  
  <p><img src="https://i.stack.imgur.com/eaok4.png" alt="Incorrect placement of photo"></p>
  
  <p>Here's what I want it to look like (see Safari also) :</p>
  
  <p><img src="https://i.stack.imgur.com/131JB.png" alt="enter image description here"></p>