title: How to invite users through my app on whatsapp and share content IOS?
body: <p>I have tried this code but its showing only whatsapp icon, but not sending content on it.Kindly suggest what's wrong I am doing</p>
  
  <pre><code>- (UIDocumentInteractionController *) setupControllerWithURL: (NSURL*) fileURL usingDelegate: (id &lt;UIDocumentInteractionControllerDelegate&gt;) interactionDelegate {
  
      self.documentationInteractionController = [UIDocumentInteractionController interactionControllerWithURL: fileURL];
      self.documentationInteractionController.delegate = interactionDelegate;
      return self.documentationInteractionController;
  }
  
  
  -(void)btnClick{
      NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory,     NSUserDomainMask, YES);
      NSString *documentsDirectory = [paths objectAtIndex:0];
  
      NSString *getImagePath = [documentsDirectory stringByAppendingPathComponent:@"savedImage.png"]; //here i am fetched image path from document directory and convert it in to URL and use bellow
  
  
      NSURL *imageFileURL =[NSURL fileURLWithPath:getImagePath];
      NSLog(@"imag %@",imageFileURL);
  
      self.documentationInteractionController.delegate = self;
      self.documentationInteractionController.UTI = @"net.whatsapp.image";
      self.documentationInteractionController = [self setupControllerWithURL:imageFileURL usingDelegate:self];
      [self.documentationInteractionController presentOpenInMenuFromRect:CGRectZero inView:self.view animated:YES];
  
  }
  </code></pre>