我想将 a 的条形样式设置UIImagePickerController
如下,但条形仍然是UIBarStyleBlackTranslucent
. 是否可以设置栏样式UIImagePickerController
?提前致谢!
UIImagePickerController *imagePicker = [[UIImagePickerController alloc] init];
imagePicker.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;
imagePicker.navigationBar.barStyle = UIBarStyleBlack;
编辑 1
我可以通过以下方式设置色调颜色:
imagePicker.navigationBar.tintColor = UIColorFromRGB(0xCC6600);