how do you ask "change color of navigation bar or text?" I don’t have a solution for the change navigation bar, it always returns nil
self.present(documentPicker, animated: true,completion: { if documentPicker.navigationController?.navigationBar != nil{ documentPicker.navigationController?.navigationBar.barTintColor = .red } })
but if you agree to change only the text
it works for me
self.present(documentPicker, animated: true,completion: { documentPicker.view.tintColor = .red })
I understand that this may not be optimal, but none of the solutions I'm trying to work for me
source share