UIActivityViewController - Unable to exclude “Save

2019-06-15 20:00发布

问题:

I am facing a situation where the "Save to Files" functionality in the UIActivityViewController breaks my navigation. That could be handled by solving the fact that I am currently unable to show two modal views on top of another.

But an even easier solution would be to simply exclude the functionality as it makes no sense for my application. Normally, I would simply exclude the UIActivityType like this:

controller.ExcludedActivityTypes = new [] { UIActivityType.AddToReadingList, UIActivityType.AssignToContact, UIActivityType.CopyToPasteboard, UIActivityType.OpenInIBooks, UIActivityType.Print, UIActivityType.SaveToCameraRoll };

But unfortunately, I cannot exclude the "Save to Files" option.

Does anyone know if this it at all possible?