I’d like to change the text and background color of a displayed PDF document using Apple’s PDFKit Framework to show the documents in “Night Mode”

@komal111, unfortunately your question isn’t quite appropriate for Swift Forums, which focuses on the language itself rather than working with Apple’s APIs (PDFKit in this case). Sites such as StackOverflow or Apple’s Developer Forums might be a better fit for your question.

Strangely enough, that question, with exactly the same wording, appeared on Stack Overflow 8 months ago. Why would you post it again, in an inappropriate forum?