title: objective-c share image to Instagram from my iOS application
body: <p>I've spent a long time searching how to share photo from iOS application to Instagram. Other social media like Twitter are working fine. I have found a lot of resources on Google but it's not working.
  Please I need some help to add Instagram share button to the UIActivityViewController that already has Twitter share button. 
  Here is my code:</p>
  
  <pre><code>- (IBAction)shareBtnClicked {
      NSString *textToShare = @"Share \r";
      NSURL *url = newsC.URL;
      NSArray *objectsToShare = @[textToShare, url];
      UIActivityViewController *activityVC = [[UIActivityViewController alloc] initWithActivityItems:objectsToShare applicationActivities:nil];
  
      //this array should add the activities that I don’t want
      NSArray *excludeActivities = @[ UIActivityTypePrint,
                                      UIActivityTypeAssignToContact,
                                      UIActivityTypePostToFlickr,
                                      UIActivityTypePostToVimeo
                                      ];
  
      activityVC.excludedActivityTypes = excludeActivities;
      [self presentViewController:activityVC animated:YES completion:nil];
  </code></pre>
  
  <p>Thanks in advance</p>