UIImagePickerController 导航样式调整

 

let imagePicker = UIImagePickerController()

imagePicker.navigationBar.isTranslucent = false

//导航栏颜色

imagePicker.navigationBar.barTintColor = AppColor.tint

//取消颜色

 imagePicker.navigationBar.tintColor = .white

//标题颜色

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

 
posted @ 2017-04-12 15:08  半掩纱窗  阅读(608)  评论(0编辑  收藏  举报