iOS14 missing buttons in "Save to Files" menu

941 views Asked by At

I spot that my code behaves differently on iOS13 / iOS14. I am downloading pdf file and showing it with UIDocumentInteractionController

     DispatchQueue.main.async {
        let controladorDoc = UIDocumentInteractionController(url: PdfUrl)
        controladorDoc.delegate = self
        controladorDoc.presentPreview(animated: true)
    }

after pdf is shown I am clicking "Save" button. Here is the difference:

iOS13

iOS14

Save and Cancel buttons are missing. How to fix that ? I was thinking about overloading buttons in actions menu but I didn't find how to make that.

1

There are 1 answers

0
EmilioPelaez On BEST ANSWER

If your buttons are working but are invisible it's very likely that you are using UIAppearance somewhere and that's causing your buttons to become the same color as the navigation bar.