title: iOS 6 - UIActivityViewController items
body: <p>Hope everyone is aware of iOS 6 contains new style of <code>ActionSheet (UIActivityViewController).</code> The <code>UIActivityViewController</code> can be initiated with the paramentes like string, url, image etc. Below is the code snippet for that (where items is an array with string and url params).</p>
  
  <pre><code>UIActivityViewController *activityVC = [[UIActivityViewController alloc] initWithActivityItems:items applicationActivities:nil];
  </code></pre>
  
  <p>But, is there any way that we can assign different parameters when we select different share options like Mail, Facebook or Twitter? </p>
  
  <p>One method is we can implement UIActivityItemSource, where we need to implement the source methods</p>
  
  <pre><code>- (id)activityViewController:(UIActivityViewController *)activityViewController itemForActivityType:(NSString *)activityType
  </code></pre>
  
  <p>which always returns a string value. But I need to pass an Array, so that I can assign various parameters like URL, image and a title. </p>
  
  <p>Any idea how we can achieve this?</p>