1、新建一个类继承自: UIImagePickerController
2、在新建的类中重写以下方法
#pragma mark status bar style
- (UIStatusBarStyle)preferredStatusBarStyle {
return UIStatusBarStyleLightContent;
}
#pragma mark navigationBar tintColor & title textColor
- (instancetype)init {
self = [super init];
if (self) {
self.navigationBar.tintColor = [UIColor whiteColor];
[self.navigationBar setTitleTextAttributes:@{
UITextAttributeTextColor : [UIColor whiteColor], UITextAttributeFont:[UIFont systemFontOfSize:17]
}];
}
return self;
}