From 6501b6523b4ef7f393833765cd8c8b23a0abd7cd Mon Sep 17 00:00:00 2001 From: Riley Testut Date: Mon, 14 Oct 2019 16:35:38 -0700 Subject: [PATCH] Presents UIDocumentBrowserViewController full screen Workaround for iOS 13 interactive dismissal bug --- Delta/Importing/ImportController.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Delta/Importing/ImportController.swift b/Delta/Importing/ImportController.swift index c57ac3a..0c7d878 100644 --- a/Delta/Importing/ImportController.swift +++ b/Delta/Importing/ImportController.swift @@ -120,6 +120,7 @@ class ImportController: NSObject let documentBrowserViewController = UIDocumentBrowserViewController(forOpeningFilesWithContentTypes: Array(self.documentTypes)) documentBrowserViewController.delegate = self + documentBrowserViewController.modalPresentationStyle = .fullScreen documentBrowserViewController.browserUserInterfaceStyle = .dark documentBrowserViewController.allowsPickingMultipleItems = true documentBrowserViewController.allowsDocumentCreation = false