title: How to hide action/share button from QLPreviewController Xamarin iOS 10?
body: <p>I am subclassing QLPreviewController in my application and using the following code.</p>
  
  <pre><code>var pController = new PdfPreviewController();
  pController.Datasource = ----
  
  this.MainDelegate.NavigationController.PushViewController(pController ,true);
  
  public class PdfPreviewController: QLPreviewController
  {
     public override void ViewWillAppear(bool animated){
       base.ViewWillApper(animated);
       this.NavigationItem.RightBarButtonItem =null;
  }
  
  }
  </code></pre>
  
  <p>But with this code, I am not able to hide share/action button which appears at bottom. In iOS 9.X it works perfectly but in 10.X onward this code is broken.  Please help.<a href="https://i.stack.imgur.com/ItVju.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ItVju.png" alt="enter image description here"></a></p>