title: How to share video on whatsapp in iOS?
body: <p>I want to share video on <strong>whatsapp</strong> but I have savePath nil error.</p>
  
  <p>I used this code:</p>
  
  <pre><code>NSString    * savePath  = [NSHomeDirectory() stringByAppendingPathComponent:@"Documents/whatsAppTmp.wam"];
  savePath = [[NSBundle mainBundle] pathForResource:@"Movie" ofType:@"m4v"];
  _documentInteractionController = [UIDocumentInteractionController interactionControllerWithURL:[NSURL fileURLWithPath:savePath]];
  _documentInteractionController.UTI = @"net.whatsapp.movie";
  _documentInteractionController.delegate = (id)self;
  [_documentInteractionController presentOpenInMenuFromRect:CGRectMake(0, 0, 0, 0) inView:self.view animated: YES];
  </code></pre>
  
  <p>Where is my error?</p>