1

I try to import files to my app via the following code:

let importMenu = UIDocumentMenuViewController(documentTypes: [String(kUTTypeData)], in: .import)
        importMenu.delegate = self
        importMenu.modalPresentationStyle = .popover
        importMenu.popoverPresentationController?.sourceView = self.view
        self.present(importMenu, animated: true, completion: nil)

It shows just the browse option, although I have Google Drive and Dropbox apps installed.

enter image description here

When i tap browse, it opens Files app browser and I can choose the cloud drives, but i want them to be presented above the browse option like so:

enter image description here

How can I achieve that?

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.