Is there a way to adapt to pdf document with the dark mode of containing view? Below doesn't change any aspect of PDF document.
let pdfView = PDFView()
pdfView.overrideUserInterfaceStyle = .dark
guard let documentUrl = Bundle.main.url(forResource: "mPilot", withExtension: "pdf") else { return }
guard let document = PDFDocument(url: documentUrl) else { return }
pdfView.document = document