UIImagePickerController 导航样式调整

 

let imagePicker = UIImagePickerController()

imagePicker.navigationBar.isTranslucent = false

//导航栏颜色

imagePicker.navigationBar.barTintColor = AppColor.tint

//取消颜色

 imagePicker.navigationBar.tintColor = .white

//标题颜色

 imagePicker.navigationBar.titleTextAttributes = [ NSForegroundColorAttributeName: UIColor.white]

 
原文地址:https://www.cnblogs.com/Leean/p/6699315.html