I am subclassing QLPreviewController in my application and using the following 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;
}
}
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.