ios UIImagePickerController取消按钮颜色

来源:互联网 发布:气象数据共享服务网 编辑:程序博客网 时间:2024/06/06 03:38

1,修改导航栏背景的颜色

[pickerController.navigationBar setBackgroundImage:[UIImage imageNamed:@""] forBarMetrics:UIBarMetricsDefault];


2,修改title颜色

NSMutableDictionary *attrs = [NSMutableDictionary dictionary];

attrs[NSForegroundColorAttributeName] = [UIColor redColor];

[pickerController.navigationBar setTitleTextAttributes:attrs];


3,修改导航栏取消按钮的颜色





阅读全文
0 0
原创粉丝点击