一、将背景栏改为白字
在Info.plist文件中,添加View controller-based status bar appearance,将其值设置为NO
然后在UIViewController中写如下代码:
- (UIStatusBarStyle)preferredStatusBarStyle {
return UIStatusBarStyleLightContent;
}一、UIImagePickerController中相册、照相机,文字改为中文
在Info.plist文件中,添加Localizations,设置其item为Chinese (simplified).
本文介绍如何在iOS应用中自定义状态栏样式为白色文字,并将UIImagePickerController中的相册及照相机选项文字修改为中文。
1万+

被折叠的 条评论
为什么被折叠?



