What is the correct way to color the UIImagePickerController\'s nav bar?
I merely tried to see the background color but I\'m getting a faded color as seen in the image bel
Updated for Swift 4.2
For completeness, I'll add full color customization setup:
let imagePicker = UIImagePickerController()
imagePicker.navigationBar.isTranslucent = false
imagePicker.navigationBar.barTintColor = .blue // Background color
imagePicker.navigationBar.tintColor = .white // Cancel button ~ any UITabBarButton items
imagePicker.navigationBar.titleTextAttributes = [
NSAttributedString.Key.foregroundColor: UIColor.white
] // Title color
which results in: