ios - UIImagePickerController 以大写字母 "USE_PHOTO"、 "RETAKE"和图库图像 "CAMERA_ROLL"显示文本?

标签 ios swift swift2 ios9

我正在使用下面的代码

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)
    }

enter image description here

最佳答案

我遇到过同样的问题,问题是,我们需要设置“AppleLanguages”用户默认值,以允许系统框架以设置的相同语言加载本地化字符串。我使用 BundleLocalization 库进行本地化,这是我的主要问题。链接:https://github.com/cmaftuleac/BundleLocalization

问题链接:UIImagePickerController shows all text in weird capital case

谢谢

关于ios - UIImagePickerController 以大写字母 "USE_PHOTO"、 "RETAKE"和图库图像 "CAMERA_ROLL"显示文本?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/38457574/

相关文章:

ios - 收到此错误 : Initializer for conditional binding must have Optional type, 而不是 'Bool'

swift - 如何禁用关闭按钮?

ios - Swift 3 中的 URLSession - URLAuthenticationChallenge

swift - 获取公共(public) Facebook 页面的帖子提要

ios - 如何在用户快速点击搜索栏时显示表格 View

ios - 在 Swift Sprite-Kit 游戏中实现游戏菜单

asp.net - AES128 位加密字符串与 .net 上的不相似

ios - 解析 iOS SDK 本地化

iOS - 无法将 NSDate 存储到 NSUserDefaults

ios - 在 iOS 中显示 UIToolBar