Change color of UIDocumentInteractionController nav bar

Viewed 8335

Is there a way to change the tint/background color of UIDocumentInteractionController navigationbar?

6 Answers

Swift version to @dvdfrddsgn implementation

Try this : (You need to implement UIDocumentInteractionControllerDelegate)

func documentInteractionControllerViewControllerForPreview(_ controller: UIDocumentInteractionController) -> UIViewController {
    return self.navigationController ?? self
} 
Related