title: Using UIActivityViewController to share a video
body: <p>I am trying to use the default apple share screen to share a video to things like twitter and facebook. I have got this to work with an image but I do not know how change this to work with a video. Thanks in advance! </p>
  
  <p>Here is the code I am using to share the photo:</p>
  
  <pre><code>(IBAction)shareButtonPressed:(id)sender {
  
      UIImage *imagetoshare = [UIImage imageNamed:@"First_Time_Travel"];
      NSArray *activityItems = @[imagetoshare];
      UIActivityViewController *activityVC = [[UIActivityViewController alloc] initWithActivityItems:activityItems applicationActivities:nil];
      activityVC.excludedActivityTypes = @[UIActivityTypeAssignToContact, UIActivityTypePrint];
      [self presentViewController:activityVC animated:TRUE completion:nil];
  }
  </code></pre>