How to share Remote URL(https://...) using UIDocumentInteractionController in iOS

175 Views Asked by At

I want to share remote URL using UIDocumentInteractionController from my app. How will I do this?

Here is my code:

let documentInteractionController = UIDocumentInteractionController.init()
documentInteractionController.name = dataUrl
documentInteractionController.delegate = self
documentInteractionController.uti = "public.content"
documentInteractionController.presentPreview(animated: true)
0

There are 0 best solutions below