How to add button in UIDocumentInteractionController preview

I use UIDocumentInteractionController to preview files:

 interactionController = UIDocumentInteractionController.FromUrl(url); interactionController.Delegate = new UIDocumentInteractionControllerDelegateClass(this); InvokeOnMainThread(delegate{interactionController.PresentPreview(true);} }); 

How to add a custom button at the top of the view to perform any action?

+4
source share

Source: https://habr.com/ru/post/1436664/


All Articles