我想在我的应用中使用UIDocumentInteractionController
共享远程URL。我该怎么办?
这是我的代码:
let documentInteractionController = UIDocumentInteractionController.init()
documentInteractionController.name = dataUrl
documentInteractionController.delegate = self
documentInteractionController.uti = "public.content"
documentInteractionController.presentPreview(animated: true)