[英]UIImagePickerController shows text in UpperCase Letters “USE_PHOTO” , “RETAKE” and Gallery Images “CAMERA_ROLL”?
I am using the following code 我使用以下代码
func pickerImage(type type : String , presentInVc : UIViewController , pickedListner : onPicked , canceledListner : onCanceled){
self.pickedListner = pickedListner
self.canceledListner = canceledListner
let picker : UIImagePickerController = UIImagePickerController()
picker.sourceType = type == CameraMode.Camera ? .Camera : .PhotoLibrary
picker.delegate = self
picker.allowsEditing = false
presentInVc.presentViewController(picker, animated: true, completion: nil)
}
I've faced the same issue and the problem was, we need to set "AppleLanguages" user defaults to allow system frameworks to load localized strings in the same language that is set. 我遇到了同样的问题,问题是,我们需要设置“AppleLanguages”用户默认值,以允许系统框架以所设置的相同语言加载本地化字符串。 I used the BundleLocalization library for localization and that was my main problem.
我使用BundleLocalization库进行本地化,这是我的主要问题。 Link: https://github.com/cmaftuleac/BundleLocalization
链接: https : //github.com/cmaftuleac/BundleLocalization
Issue link: UIImagePickerController shows all text in weird capital case 问题链接: UIImagePickerController以奇怪的大写情况显示所有文本
Thanks 谢谢
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.