UIDocumentPickerViewController fullScreen not working

When I present a UIDocumentPickerViewController I want it to occupy the fullscreen but it never displays as fullscreen

The modalPresentationStyle seems to have no effect no matter what I set it to

Running the code with DispatchQueue.main.async did not help either

Here is the code

Anybody got any suggestions?

`@objc private func plusButtonPressed() {
        DispatchQueue.main.async {
            let picker = UIDocumentPickerViewController(documentTypes: [kUTTypeData as String], in: .import)
            picker.delegate = self


            picker.modalPresentationStyle = .fullScreen

            self.present(picker, animated: true)
        }
    }`

UIDocumentPickerViewController fullScreen not working
 
 
Q