title: Crash wen tapping "Open in Instagram" while using UIDocumentInteractionController
body: <p>I have got the following class:</p>
  
  <p>.h file :</p>
  
  <pre><code>#import &lt;Foundation/Foundation.h&gt;
  
  @interface CHTInstagramSharer : NSObject&lt;UIDocumentInteractionControllerDelegate&gt;
  @property (nonatomic, retain) UIDocumentInteractionController *dic;
  -(void) sharePic:(UIImage *)image;
  @end
  </code></pre>
  
  <p>.m file</p>
  
  <pre><code>#import "CHTInstagramSharer.h"
  #import &lt;UIKit/UIKit.h&gt;
  #import "BaseController.h"
  
  @implementation CHTInstagramSharer
  
  
  -(void) sharePic:(UIImage *)image{    
  
      NSString * jpgPath = [Utils saveImage:image toFile:@"cover.igo"];
      NSURL *url = [NSURL fileURLWithPath:jpgPath];
      self.dic = [UIDocumentInteractionController interactionControllerWithURL: url];
      self.dic.UTI = @"com.instagram.exclusivegram";
      self.dic.delegate = self;
      self.dic.annotation = [NSDictionary dictionaryWithObject:@"Caption Test" forKey:@"InstagramCaption"];
      [self.dic presentOpenInMenuFromRect:CGRectMake(0, 0, 320, 44)    inView:[BaseController sharedInstance].view animated: YES ];
  }
  @end
  </code></pre>
  
  <p>It presents the controller with the option "Open in Instagram", but when I tap on that, the app crashes. </p>
  
  <p>Any idea why? </p>
  
  <p>Complementary information, when I look at the url in the debugger, I get: 
  file://localhost/var/mobile/Applications/53435781-3BAB-4B02-A80C-FC088F696AE8/Library/Caches/cover.igo</p>
  
  <p>The crash seems to happen in [_UIOpenWithAppActivity performActivity] when I look in the stack trace.</p>