title: Xamarin iOS App rejected - presentViewController non public API
body: <p>My app was rejected in the Apple Store for the following reason:</p>
  
  <p>Your app uses or references the following non-public APIs:</p>
  
  <p>presentViewController:</p>
  
  <p>I'm using Xamarin iOS and MvvmCross 4.1.0. Reviewing the app the only place I use this API is for share a web link, image, text etc. This is how I use it:</p>
  
  <pre><code>// Share functionality
          btnShare.Clicked += (object sender, EventArgs e) =&gt; {
              //_openInWindow = UIDocumentInteractionController.FromUrl (NSUrl.FromFilename (DocumentUrl));
              _openInWindow = new UIActivityViewController (new NSObject [] { NSUrl.FromFilename (DocumentUrl) }, null);
              //_openInWindow.PresentOpenInMenu (new CGRect (0, 260, 320, 320), this.View, false);
              PresentViewController (_openInWindow, true, null);
          };
  </code></pre>
  
  <p>I've done a little bit of research and sometimes this error arises when the API call is deprecated, but I think this is not the case.</p>
  
  <p>Thanks   </p>