- 修改 UIImagePickerController 选择照片状
- iOS 使用UIImagePickerController选择照
- iOS this app does not have acces
- UIImagePickerController相册选择视频
- ios —— UIImagePickerController类
- UIImagePickerController
- 相册拾取器UIImagePickerController
- iOS使用UIImagePickerController 打开图
- Swift UIImagePickerController 修改
- UIImagePickerController中按钮修改成中文
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;
}
网友评论