How to disable print option of QLPreviewController in the Xamarin iOS?

Pelin Konaray 291 Reputation points

In my Xamarin.Froms application, on the iOS side, I open the files as preview with the help of QLPreviewController. When I open the preview and press the share button, the print option appears. (As in the picture below.)
How can I turn this off? When I searched, it says that the RightBarButtonItem value can be set enabled false or null. But this directly closes the share button. I want the share button to remain open but the print option to be turned off. How do I do this?


A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,312 questions
{count} votes