title: Meaning of Warning "while a presentation is in progress!"
body: <p>When I am integarting the <strong>Instagram</strong> in my project. I am getting a <code>image</code> from <code>UIImagePickerController</code> and after it i want to send it to <strong>Instagram</strong> But when I am sending <code>image</code> to <strong>Instagram</strong> by <code>UIDocumentInteractionController</code> delegate method <code>presentOptionsMenuFromRect:inView: animated:</code>  like this</p>
  
  <pre><code>[documentInteractionController presentOptionsMenuFromRect:CGRectZero inView:self.view animated:YES];
  </code></pre>
  
  <p>The warning comes <strong>Warning: Attempt to present &lt;_UIDocumentActivityViewController: 0x7584780> on  while a presentation is in progress!</strong>
  <br>
  The application is not Crashing. But I am not getting the Problem. Why this warning comes and what It means. I searched on Internet and read questions about this but not got any answer. Help me !!</p>